Home
last modified time | relevance | path

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

/system/extras/crypto-perf/
Dcrypto.cpp9 #define USEC_PER_SEC 1000000ULL macro
134 elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec); in main()
138 (float)(MAX_COUNT * NUM_INSTS_GARBAGE * USEC_PER_SEC) / in main()
139 (elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec)); in main()
142 (float)(MAX_COUNT * NUM_INSTS_GARBAGE * USEC_PER_SEC) / in main()
143 ((elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec) * in main()
157 elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec); in main()
161 (float)(MAX_COUNT * NUM_INSTS_GARBAGE * USEC_PER_SEC) / in main()
162 (elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec)); in main()
165 (float)(MAX_COUNT * NUM_INSTS_GARBAGE * USEC_PER_SEC) / in main()
[all …]
/system/extras/tests/pagingtest/
Dpageinout_test.c89 (file_size * test_runs * USEC_PER_SEC) / in pageinout_test()
90 (1024 * 1024 * (total_time_in.tv_sec * USEC_PER_SEC + total_time_in.tv_usec))); in pageinout_test()
92 (file_size * test_runs * USEC_PER_SEC) / in pageinout_test()
93 (1024 * 1024 * (total_time_out.tv_sec * USEC_PER_SEC + total_time_out.tv_usec))); in pageinout_test()
Dmmap_test.c40 printf("mmap: %llu us\n", total_time_mmap.tv_sec * USEC_PER_SEC + total_time_mmap.tv_usec); in mmap_test()
41 … printf("munmap: %llu us\n", total_time_munmap.tv_sec * USEC_PER_SEC + total_time_munmap.tv_usec); in mmap_test()
Dthrashing_test.c73 (filesize * ARRAY_SIZE(fds) * test_runs * USEC_PER_SEC) / in thrashing_test()
74 (1024 * 1024 * (total_time.tv_sec * USEC_PER_SEC + total_time.tv_usec))); in thrashing_test()
Dpagingtest.h6 #define USEC_PER_SEC 1000000ULL macro
/system/nfc/src/adaptation/
Ddebug_nfcsnoop.cc30 #define USEC_PER_SEC 1000000ULL macro
120 uint64_t timestamp = static_cast<uint64_t>(tv.tv_sec) * USEC_PER_SEC + in nfcsnoop_capture()
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc52 #define USEC_PER_SEC 1000000L macro
172 now_us = now.tv_sec * USEC_PER_SEC + now.tv_nsec / 1000; in ts_log()
175 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + in ts_log()
180 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + in ts_log()
214 int)(((int64_t)bytes * (USEC_PER_SEC / (chan_count * bytes_per_sample))) / in calc_audiotime_usec()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc58 #define USEC_PER_SEC 1000000L macro
188 now_us = now.tv_sec * USEC_PER_SEC + now.tv_nsec / 1000; in ts_log()
191 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + in ts_log()
196 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + in ts_log()
230 int)(((int64_t)bytes * (USEC_PER_SEC / (chan_count * bytes_per_sample))) / in calc_audiotime_usec()