double BenchSysTimer::endWall() { timespec end_wall; if (-1 == clock_gettime(CLOCK_MONOTONIC, &end_wall)) { timespec none = {0, 0}; end_wall = none; } return intervalInMSec(this->fWall, end_wall); }
double BenchSysTimer::endCpu() { timespec end_cpu; if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_cpu)) { timespec none = {0, 0}; end_cpu = none; } return intervalInMSec(this->fCpu, end_cpu); }
double BenchSysTimer::endCpu() { time_value_t end_cpu = macCpuTime(); return intervalInMSec(this->fStartCpu, end_cpu); }