GeoTessCPP
2.6.1
Software to facilitate storage and retrieval of 3D information about the Earth.
|
Wall clock and cpu timing information. More...
#include <CpuTimer.h>
Public Member Functions | |
CpuTimer () | |
void | initTimer () |
double | cpuTime () |
double | cpuTimeInit () |
double | realTime () |
double | realTimeInit () |
Static Public Member Functions | |
static double | getCurrCPUTime () |
static double | getCurrRealTime () |
static string | elapsedTimeString (double tm) |
static string | elapsedTimeStringFraction (double tm) |
static string | elapsedTimeStringFractionAbbrvUnits (double tm) |
static string | now () |
Wall clock and cpu timing information.
Manages real (wall clock) and cpu timing information and elapsed timing information.
Definition at line 64 of file CpuTimer.h.
geotess::CpuTimer::CpuTimer | ( | ) |
double geotess::CpuTimer::cpuTime | ( | ) |
double geotess::CpuTimer::cpuTimeInit | ( | ) |
|
static |
|
static |
|
static |
|
inlinestatic |
Returns the current CPU time in msec since process start.
Definition at line 87 of file CpuTimer.h.
|
inlinestatic |
Returns the current real time (wall clock) in msec since 1970.
Definition at line 93 of file CpuTimer.h.
void geotess::CpuTimer::initTimer | ( | ) |
|
static |
double geotess::CpuTimer::realTime | ( | ) |
double geotess::CpuTimer::realTimeInit | ( | ) |