Home
last modified time | relevance | path

Searched refs:USEC_PER_SEC (Results 1 – 7 of 7) 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.c78 printf("page-in: %llu MB/s\n", (file_size * test_runs * USEC_PER_SEC) / in pageinout_test()
79 (1024 * 1024 * (total_time_in.tv_sec * USEC_PER_SEC + total_time_in.tv_usec))); in pageinout_test()
80 printf("page-out (clean): %llu MB/s\n", (file_size * test_runs * USEC_PER_SEC) / in pageinout_test()
81 (1024 * 1024 * (total_time_out.tv_sec * USEC_PER_SEC + total_time_out.tv_usec))); in pageinout_test()
Dmmap_test.c41 printf("mmap: %llu us\n", total_time_mmap.tv_sec * USEC_PER_SEC + total_time_mmap.tv_usec); in mmap_test()
42 … printf("munmap: %llu us\n", total_time_munmap.tv_sec * USEC_PER_SEC + total_time_munmap.tv_usec); in mmap_test()
Dthrashing_test.c65 printf("thrashing: %llu MB/s\n", (filesize * ARRAY_SIZE(fds) * test_runs * USEC_PER_SEC) / in thrashing_test()
66 (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/bt/audio_a2dp_hw/
Daudio_a2dp_hw.c58 #define USEC_PER_SEC 1000000L macro
178 now_us = now.tv_sec*USEC_PER_SEC + now.tv_nsec/1000; in ts_log()
182 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000; in ts_log()
188 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000; in ts_log()
/system/bt/btif/src/
Dbtif_media_task.c176 #define USEC_PER_SEC 1000000L macro
459 return ((UINT64)ts_now.tv_sec * USEC_PER_SEC) + ((UINT64)ts_now.tv_nsec / 1000); in time_now_us()