Searched refs:USEC_PER_SEC (Results 1 – 8 of 8) sorted by relevance
9 #define USEC_PER_SEC 1000000ULL macro131 elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec); in main()134 (float)(MAX_COUNT * NUM_INSTS_GARBAGE * USEC_PER_SEC) / in main()135 (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) * 1000 * in main()153 elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec); in main()156 (float)(MAX_COUNT * NUM_INSTS_GARBAGE * USEC_PER_SEC) / in main()157 (elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec)); in main()160 (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
35 #define USEC_PER_SEC 1000000ULL macro132 uint64_t timestamp = static_cast<uint64_t>(tv.tv_sec) * USEC_PER_SEC + in nfcsnoop_capture()
52 #define USEC_PER_SEC 1000000L macro193 now_us = now.tv_sec * USEC_PER_SEC + now.tv_nsec / 1000; in ts_log()196 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + in ts_log()201 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + in ts_log()235 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()