Searched refs:USEC_PER_SEC (Results 1 - 6 of 6) sorted by relevance

/system/extras/tests/pagingtest/
H A Dpageinout_test.c78 printf("page-in: %llu MB/s\n", (file_size * test_runs * USEC_PER_SEC) /
79 (1024 * 1024 * (total_time_in.tv_sec * USEC_PER_SEC + total_time_in.tv_usec)));
80 printf("page-out (clean): %llu MB/s\n", (file_size * test_runs * USEC_PER_SEC) /
81 (1024 * 1024 * (total_time_out.tv_sec * USEC_PER_SEC + total_time_out.tv_usec)));
H A Dpagingtest.h6 #define USEC_PER_SEC 1000000ULL macro
H A Dmmap_test.c41 printf("mmap: %llu us\n", total_time_mmap.tv_sec * USEC_PER_SEC + total_time_mmap.tv_usec);
42 printf("munmap: %llu us\n", total_time_munmap.tv_sec * USEC_PER_SEC + total_time_munmap.tv_usec);
H A Dthrashing_test.c66 printf("thrashing: %llu MB/s\n", (filesize * ARRAY_SIZE(fds) * test_runs * USEC_PER_SEC) /
67 (1024 * 1024 * (total_time.tv_sec * USEC_PER_SEC + total_time.tv_usec)));
/system/bt/audio_a2dp_hw/
H A Daudio_a2dp_hw.c57 #define USEC_PER_SEC 1000000L macro
166 now_us = now.tv_sec*USEC_PER_SEC + now.tv_nsec/1000;
170 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000;
176 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000;
/system/bt/btif/src/
H A Dbtif_media_task.c161 #define USEC_PER_SEC 1000000L macro
326 return ((UINT64)ts_now.tv_sec * USEC_PER_SEC) + ((UINT64)ts_now.tv_nsec / 1000);

Completed in 252 milliseconds