Searched refs:USEC_PER_SEC (Results 1 – 8 of 8) sorted by relevance
9 #define USEC_PER_SEC 1000000ULL macro134 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 …]
89 (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()
40 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()
73 (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()
6 #define USEC_PER_SEC 1000000ULL macro
30 #define USEC_PER_SEC 1000000ULL macro120 uint64_t timestamp = static_cast<uint64_t>(tv.tv_sec) * USEC_PER_SEC + in nfcsnoop_capture()
52 #define USEC_PER_SEC 1000000L macro171 now_us = now.tv_sec * USEC_PER_SEC + now.tv_nsec / 1000; in ts_log()174 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + in ts_log()179 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + in ts_log()213 int)(((int64_t)bytes * (USEC_PER_SEC / (chan_count * bytes_per_sample))) / in calc_audiotime_usec()
58 #define USEC_PER_SEC 1000000L macro187 now_us = now.tv_sec * USEC_PER_SEC + now.tv_nsec / 1000; in ts_log()190 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + in ts_log()195 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + in ts_log()229 int)(((int64_t)bytes * (USEC_PER_SEC / (chan_count * bytes_per_sample))) / in calc_audiotime_usec()