Cbc  2.10.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
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. More...
 
static double CoinCpuTime ()
 
static double CoinSysTime ()
 
static double CoinCpuTimeJustChildren ()
 

Function Documentation

double CoinGetTimeOfDay ( )
inline

Definition at line 69 of file CoinTime.hpp.

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 86 of file CoinTime.hpp.

static double CoinCpuTime ( )
inlinestatic

Definition at line 106 of file CoinTime.hpp.

static double CoinSysTime ( )
inlinestatic

Definition at line 143 of file CoinTime.hpp.

static double CoinCpuTimeJustChildren ( )
inlinestatic

Definition at line 163 of file CoinTime.hpp.