Home
last modified time | relevance | path

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

/external/adhd/cras/src/tools/cras_test_client/
Dcras_test_client.c110 static void fill_time_offset(time_t *sec_offset, int32_t *nsec_offset) in fill_time_offset() argument
117 *nsec_offset = real_time.tv_nsec - mono_time.tv_nsec; in fill_time_offset()
481 time_t sec_offset, int32_t nsec_offset) in convert_time() argument
484 nsec_offset += *nsec; in convert_time()
485 if (nsec_offset >= 1000000000L) { in convert_time()
487 nsec_offset -= 1000000000L; in convert_time()
488 } else if (nsec_offset < 0) { in convert_time()
490 nsec_offset += 1000000000L; in convert_time()
493 *nsec = nsec_offset; in convert_time()
518 int32_t nsec_offset) in show_alog_tag() argument
[all …]
/external/llvm-project/lldb/tools/debugserver/source/
DDNBTimer.h95 long nsec_offset = 0) {
104 if (sec_offset != 0 || nsec_offset != 0) {
106 ts->tv_nsec += nsec_offset;