15#ifndef UTIL_TIMER_INCLUDED
16#define UTIL_TIMER_INCLUDED
54 startCpu_ = CoinCpuTime();
60 finishCpu_ = CoinCpuTime();
62 cpu_ = finishCpu_ - startCpu_;
63 real_ = finishReal_ - startReal_;
68 finishCpu_ = CoinCpuTime();
69 cpu_ = finishCpu_ - startCpu_;
76 real_ = finishReal_ - startReal_;
double CoinGetTimeOfDay()
double getRealTime()
Get wallClock time.
void start()
Start to count times.
double getCpuTime()
Get cpu time.
void stop()
Stop timer and computing times.
bool isPast(double limit)
Return whether the given amount of real time has elapsed since the timer was started.