- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/Cgl-0.55.0/CoinUtils/src/CoinTime.hpp File Reference

`#include <ctime>`
`#include <sys/resource.h>`
`#include <sys/time.h>`
`#include <fstream>`

Include dependency graph for CoinTime.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | CoinTimer
| This class implements a timer that also implements a tracing functionality. More...
## Functions
double | CoinGetTimeOfDay ()
double | CoinWallclockTime (double callType=0)
| Query the elapsed wallclock time since the first call to this function.
static double | CoinCpuTime ()
static double | CoinSysTime ()
static double | CoinCpuTimeJustChildren ()

## Function Documentation

double CoinGetTimeOfDay | ( |  | ) | `[inline]`

Definition at line 68 of file CoinTime.hpp.

Referenced by CoinWallclockTime().

double CoinWallclockTime | ( | double | callType = `0` | ) | `[inline]`

Query the elapsed wallclock time since the first call to this function.

If a positive argument is passed to the function then the time of the first call is set to that value (this kind of argument is allowed only at the first call!). If a negative argument is passed to the function then it returns the time when it was set.

Definition at line 85 of file CoinTime.hpp.

References CoinGetTimeOfDay().

static double CoinCpuTime | ( |  | ) | `[inline, static]`

Definition at line 105 of file CoinTime.hpp.

Referenced by CoinTimer::isExpired(), CoinTimer::isPast(), CoinTimer::isPastPercent(), CoinTimer::restart(), CoinTimer::timeElapsed(), and CoinTimer::timeLeft().

static double CoinSysTime | ( |  | ) | `[inline, static]`

Definition at line 140 of file CoinTime.hpp.

static double CoinCpuTimeJustChildren | ( |  | ) | `[inline, static]`

Definition at line 160 of file CoinTime.hpp.