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.c415 uint64_t now_us, uint64_t expected_delta) in update_scheduling_stats() argument
420 stats->last_update_us = now_us; in update_scheduling_stats()
426 if (deadline_us < now_us) { in update_scheduling_stats()
428 uint64_t delta_us = now_us - deadline_us; in update_scheduling_stats()
435 stats->total_scheduling_time_us += now_us - last_us; in update_scheduling_stats()
437 } else if (deadline_us > now_us) { in update_scheduling_stats()
439 uint64_t delta_us = deadline_us - now_us; in update_scheduling_stats()
446 stats->total_scheduling_time_us += now_us - last_us; in update_scheduling_stats()
451 stats->total_scheduling_time_us += now_us - last_us; in update_scheduling_stats()
462 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()