Home
last modified time | relevance | path

Searched refs:delta_us (Results 1 – 1 of 1) sorted by relevance

/system/bt/btif/src/
Dbtif_media_task.c428 uint64_t delta_us = now_us - deadline_us; in update_scheduling_stats() local
430 if (delta_us < 10 * expected_delta) { in update_scheduling_stats()
431 if (stats->max_overdue_scheduling_delta_us < delta_us) in update_scheduling_stats()
432 stats->max_overdue_scheduling_delta_us = delta_us; in update_scheduling_stats()
433 stats->total_overdue_scheduling_delta_us += delta_us; in update_scheduling_stats()
439 uint64_t delta_us = deadline_us - now_us; in update_scheduling_stats() local
441 if (delta_us < 10 * expected_delta) { in update_scheduling_stats()
442 if (stats->max_premature_scheduling_delta_us < delta_us) in update_scheduling_stats()
443 stats->max_premature_scheduling_delta_us = delta_us; in update_scheduling_stats()
444 stats->total_premature_scheduling_delta_us += delta_us; in update_scheduling_stats()