OSDN Git Service

Updated the A2DP statistics
authorPavlin Radoslavov <pavlin@google.com>
Tue, 5 Apr 2016 18:45:30 +0000 (11:45 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 5 Apr 2016 23:28:03 +0000 (23:28 +0000)
commit94b6e5fe8e9aafb0d39059e10d0fb904bd6ed2d6
tree74f75c6cd67e4a094f8eeb3af2557fa754f516fb
parent4cef24d88eb14396011bf31a185d4cab9d0254aa
Updated the A2DP statistics

 * Added "Frame expected" and "Frames limited" statistics in the
   bugreport about expected and limited number of frames per tick.
   Also, added corresponding "Counts (expected/limited)":

A2DP State:
  TxQueue:
  Counts (enqueue/dequeue/readbuf)                        : 386 / 386 / 768
  Last update time ago in ms (enqueue/dequeue/readbuf)    : 12644 / 12643 / 12600
  Frames expected (total/max/ave)                         : 2632 / 8 / 6
  Frames limited (total/max/ave)                          : 0 / 0 / 0
  Counts (expected/limited)                               : 382 / 0
  Frames per packet (total/max/ave)                       : 2618 / 7 / 6
  ...

 * Renamed "tx_queue_max_frames" to "tx_queue_max_frames_per_packet"

 * Fixed the computation of actual transmitted frames:
   tx_queue_total_frames, tx_queue_max_frames_per_packet

 * Computed / added buffer_overruns_max_count and
   buffer_underruns_average to the Protobuf stats.

Bug: 27500656
Change-Id: Id58cfb0b5de2296742c84aa0b743e0eed398f41f
btif/src/btif_media_task.c