Home
last modified time | relevance | path

Searched refs:NANOSEC_PER_SEC (Results 1 – 2 of 2) sorted by relevance

/third_party/musl/libc-test/src/regression/
Dmalloc-free-performance.c11 #define NANOSEC_PER_SEC 1e9 macro
188 double cost = (ts[1].tv_sec - ts[0].tv_sec) * NANOSEC_PER_SEC + in main()
191 t_printf("Malloc and free %d times cost %lf s\n", MALLOC_TIME, cost / NANOSEC_PER_SEC); in main()
Dmalloc-multi-thread-performance.c13 #define NANOSEC_PER_SEC 1e9 macro
82 double cost = (ts[1].tv_sec - ts[0].tv_sec) * NANOSEC_PER_SEC + in main()
86 …loc and free %d threads %d times cost %lf s\n", THREAD_MAX_N, MALLOC_TIME, cost / NANOSEC_PER_SEC); in main()