• Home
  • Raw
  • Download

Lines Matching refs:now_us

265 static void update_scheduling_stats(SchedulingStats* stats, uint64_t now_us,
931 uint64_t now_us = bluetooth::common::time_get_os_boottime_us(); in btif_a2dp_source_enqueue_callback() local
946 btif_a2dp_source_cb.stats.tx_queue_last_flushed_us = now_us; in btif_a2dp_source_enqueue_callback()
962 btif_a2dp_source_cb.stats.tx_queue_last_dropouts_us = now_us; in btif_a2dp_source_enqueue_callback()
1044 uint64_t now_us = bluetooth::common::time_get_os_boottime_us(); in btif_a2dp_source_audio_readbuf() local
1049 btif_a2dp_source_cb.stats.tx_queue_last_readbuf_us = now_us; in btif_a2dp_source_audio_readbuf()
1053 now_us, in btif_a2dp_source_audio_readbuf()
1069 static void update_scheduling_stats(SchedulingStats* stats, uint64_t now_us, in update_scheduling_stats() argument
1074 stats->last_update_us = now_us; in update_scheduling_stats()
1079 if (deadline_us < now_us) { in update_scheduling_stats()
1081 uint64_t delta_us = now_us - deadline_us; in update_scheduling_stats()
1088 stats->total_scheduling_time_us += now_us - last_us; in update_scheduling_stats()
1090 } else if (deadline_us > now_us) { in update_scheduling_stats()
1092 uint64_t delta_us = deadline_us - now_us; in update_scheduling_stats()
1099 stats->total_scheduling_time_us += now_us - last_us; in update_scheduling_stats()
1104 stats->total_scheduling_time_us += now_us - last_us; in update_scheduling_stats()
1111 uint64_t now_us = bluetooth::common::time_get_os_boottime_us(); in btif_a2dp_source_debug_dump() local
1132 ? (unsigned long long)(now_us - enqueue_stats->last_update_us) / 1000 in btif_a2dp_source_debug_dump()
1135 ? (unsigned long long)(now_us - dequeue_stats->last_update_us) / 1000 in btif_a2dp_source_debug_dump()
1138 ? (unsigned long long)(now_us - in btif_a2dp_source_debug_dump()
1169 ? (unsigned long long)(now_us - in btif_a2dp_source_debug_dump()
1174 ? (unsigned long long)(now_us - in btif_a2dp_source_debug_dump()
1190 ? (unsigned long long)(now_us - in btif_a2dp_source_debug_dump()