Lines Matching refs:start_tm
501 struct timespec start_tm, end_tm; in main() local
503 struct timeval start_tm, end_tm; in main() local
590 start_tm.tv_sec = 0; in main()
591 start_tm.tv_nsec = 0; in main()
592 if (0 == clock_gettime(CLOCK_MONOTONIC, &start_tm)) in main()
599 start_tm.tv_sec = 0; in main()
600 start_tm.tv_usec = 0; in main()
601 gettimeofday(&start_tm, NULL); in main()
612 if (start_tm.tv_sec || start_tm.tv_nsec) { in main()
622 elapsed_usecs = (end_tm.tv_sec - start_tm.tv_sec) * 1000000; in main()
624 elapsed_usecs += (end_tm.tv_nsec - start_tm.tv_nsec) / 1000; in main()
627 if (start_tm.tv_sec || start_tm.tv_usec) { in main()
629 elapsed_usecs = (end_tm.tv_sec - start_tm.tv_sec) * 1000000; in main()
630 elapsed_usecs += (end_tm.tv_usec - start_tm.tv_usec); in main()