24 gettimeofday(&ctime,
NULL);
26 return (
double)ctime.tv_sec + (double).000001*ctime.tv_usec;
40 return omp_get_wtime();
42 #if defined(WIN32) || defined(__MINGW32__) 43 return((
double) clock()/CLOCKS_PER_SEC);
47 getrusage(RUSAGE_SELF, &r);
48 return ((r.ru_utime.tv_sec + r.ru_stime.tv_sec) + 1.0e-6*(r.ru_utime.tv_usec + r.ru_stime.tv_usec));
double gk_CPUSeconds(void)
double gk_WClockSeconds(void)