Searched refs:ts2 (Results 1 – 1 of 1) sorted by relevance
113 timeval ts1, ts2, ts3, ts4; in main() local206 gettimeofday(&ts2, NULL); in main()208 double elapsedTime = (ts2.tv_sec - ts1.tv_sec)*1000.0; // sec to ms in main()209 elapsedTime += (ts2.tv_usec - ts1.tv_usec)/1000.0; // us to ms in main()