Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_media_task.c480 uint64_t now_us, uint64_t expected_delta) in update_scheduling_stats() argument
485 stats->last_update_us = now_us; in update_scheduling_stats()
491 if (deadline_us < now_us) { in update_scheduling_stats()
493 uint64_t delta_us = now_us - deadline_us; in update_scheduling_stats()
500 stats->total_scheduling_time_us += now_us - last_us; in update_scheduling_stats()
502 } else if (deadline_us > now_us) { in update_scheduling_stats()
504 uint64_t delta_us = deadline_us - now_us; in update_scheduling_stats()
511 stats->total_scheduling_time_us += now_us - last_us; in update_scheduling_stats()
516 stats->total_scheduling_time_us += now_us - last_us; in update_scheduling_stats()
527 static void log_tstamps_us(char *comment, uint64_t now_us) in log_tstamps_us() argument
[all …]
/system/bt/audio_a2dp_hw/
Daudio_a2dp_hw.c171 unsigned long long now_us; in ts_log() local
178 now_us = now.tv_sec*USEC_PER_SEC + now.tv_nsec/1000; in ts_log()
184 DEBUG("[%s] ts %08lld, *diff %08lld, val %d", tag, now_us, diff_us, val); in ts_log()
190 DEBUG("[%s] ts %08lld, diff %08lld, val %d", tag, now_us, diff_us, val); in ts_log()