Searched refs:USEC_PER_SEC (Results 1 – 7 of 7) 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 …]
78 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()
41 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()
65 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()
6 #define USEC_PER_SEC 1000000ULL macro
58 #define USEC_PER_SEC 1000000L macro178 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()
176 #define USEC_PER_SEC 1000000L macro459 return ((UINT64)ts_now.tv_sec * USEC_PER_SEC) + ((UINT64)ts_now.tv_nsec / 1000); in time_now_us()