Lines Matching refs:enqueue_stats
1093 SchedulingStats* enqueue_stats = &accumulated_stats->tx_queue_enqueue_stats; in btif_a2dp_source_debug_dump() local
1104 enqueue_stats->total_updates, dequeue_stats->total_updates, in btif_a2dp_source_debug_dump()
1111 (enqueue_stats->last_update_us > 0) in btif_a2dp_source_debug_dump()
1112 ? (unsigned long long)(now_us - enqueue_stats->last_update_us) / 1000 in btif_a2dp_source_debug_dump()
1124 if (enqueue_stats->total_updates != 0) in btif_a2dp_source_debug_dump()
1126 accumulated_stats->tx_queue_total_frames / enqueue_stats->total_updates; in btif_a2dp_source_debug_dump()
1182 enqueue_stats->overdue_scheduling_count, in btif_a2dp_source_debug_dump()
1183 enqueue_stats->premature_scheduling_count); in btif_a2dp_source_debug_dump()
1186 if (enqueue_stats->overdue_scheduling_count != 0) { in btif_a2dp_source_debug_dump()
1187 ave_time_us = enqueue_stats->total_overdue_scheduling_delta_us / in btif_a2dp_source_debug_dump()
1188 enqueue_stats->overdue_scheduling_count; in btif_a2dp_source_debug_dump()
1194 (unsigned long long)enqueue_stats->total_overdue_scheduling_delta_us / in btif_a2dp_source_debug_dump()
1196 (unsigned long long)enqueue_stats->max_overdue_scheduling_delta_us / 1000, in btif_a2dp_source_debug_dump()
1200 if (enqueue_stats->premature_scheduling_count != 0) { in btif_a2dp_source_debug_dump()
1201 ave_time_us = enqueue_stats->total_premature_scheduling_delta_us / in btif_a2dp_source_debug_dump()
1202 enqueue_stats->premature_scheduling_count; in btif_a2dp_source_debug_dump()
1208 (unsigned long long)enqueue_stats->total_premature_scheduling_delta_us / in btif_a2dp_source_debug_dump()
1210 (unsigned long long)enqueue_stats->max_premature_scheduling_delta_us / in btif_a2dp_source_debug_dump()
1255 SchedulingStats enqueue_stats = stats.tx_queue_enqueue_stats; in btif_a2dp_source_update_metrics() local
1271 if (enqueue_stats.total_updates > 1) { in btif_a2dp_source_update_metrics()
1274 (enqueue_stats.max_premature_scheduling_delta_us / 1000); in btif_a2dp_source_update_metrics()
1277 (enqueue_stats.max_overdue_scheduling_delta_us / 1000); in btif_a2dp_source_update_metrics()
1279 metrics.total_scheduling_count = enqueue_stats.overdue_scheduling_count + in btif_a2dp_source_update_metrics()
1280 enqueue_stats.premature_scheduling_count + in btif_a2dp_source_update_metrics()
1281 enqueue_stats.exact_scheduling_count; in btif_a2dp_source_update_metrics()
1283 metrics.media_timer_avg_ms = enqueue_stats.total_scheduling_time_us / in btif_a2dp_source_update_metrics()