Searched refs:NANOSEC_PER_SEC (Results 1 – 2 of 2) sorted by relevance
11 #define NANOSEC_PER_SEC 1e9 macro188 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()
13 #define NANOSEC_PER_SEC 1e9 macro82 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()