Lines Matching refs:enqueue_stats
1113 SchedulingStats* enqueue_stats = &accumulated_stats->tx_queue_enqueue_stats; in btif_a2dp_source_debug_dump() local
1124 enqueue_stats->total_updates, dequeue_stats->total_updates, in btif_a2dp_source_debug_dump()
1131 (enqueue_stats->last_update_us > 0) in btif_a2dp_source_debug_dump()
1132 ? (unsigned long long)(now_us - enqueue_stats->last_update_us) / 1000 in btif_a2dp_source_debug_dump()
1144 if (enqueue_stats->total_updates != 0) in btif_a2dp_source_debug_dump()
1146 accumulated_stats->tx_queue_total_frames / enqueue_stats->total_updates; in btif_a2dp_source_debug_dump()
1202 enqueue_stats->overdue_scheduling_count, in btif_a2dp_source_debug_dump()
1203 enqueue_stats->premature_scheduling_count); in btif_a2dp_source_debug_dump()
1206 if (enqueue_stats->overdue_scheduling_count != 0) { in btif_a2dp_source_debug_dump()
1207 ave_time_us = enqueue_stats->total_overdue_scheduling_delta_us / in btif_a2dp_source_debug_dump()
1208 enqueue_stats->overdue_scheduling_count; in btif_a2dp_source_debug_dump()
1214 (unsigned long long)enqueue_stats->total_overdue_scheduling_delta_us / in btif_a2dp_source_debug_dump()
1216 (unsigned long long)enqueue_stats->max_overdue_scheduling_delta_us / 1000, in btif_a2dp_source_debug_dump()
1220 if (enqueue_stats->premature_scheduling_count != 0) { in btif_a2dp_source_debug_dump()
1221 ave_time_us = enqueue_stats->total_premature_scheduling_delta_us / in btif_a2dp_source_debug_dump()
1222 enqueue_stats->premature_scheduling_count; in btif_a2dp_source_debug_dump()
1228 (unsigned long long)enqueue_stats->total_premature_scheduling_delta_us / in btif_a2dp_source_debug_dump()
1230 (unsigned long long)enqueue_stats->max_premature_scheduling_delta_us / in btif_a2dp_source_debug_dump()
1275 SchedulingStats enqueue_stats = stats.tx_queue_enqueue_stats; in btif_a2dp_source_update_metrics() local
1291 if (enqueue_stats.total_updates > 1) { in btif_a2dp_source_update_metrics()
1294 (enqueue_stats.max_premature_scheduling_delta_us / 1000); in btif_a2dp_source_update_metrics()
1297 (enqueue_stats.max_overdue_scheduling_delta_us / 1000); in btif_a2dp_source_update_metrics()
1299 metrics.total_scheduling_count = enqueue_stats.overdue_scheduling_count + in btif_a2dp_source_update_metrics()
1300 enqueue_stats.premature_scheduling_count + in btif_a2dp_source_update_metrics()
1301 enqueue_stats.exact_scheduling_count; in btif_a2dp_source_update_metrics()
1303 metrics.media_timer_avg_ms = enqueue_stats.total_scheduling_time_us / in btif_a2dp_source_update_metrics()