GeoTessCPP  2.2
Software to facilitate storage and retrieval of 3D information about the Earth.
Public Member Functions | Static Public Member Functions | List of all members
geotess::CpuTimer Class Reference

Wall clock and cpu timing information. More...

#include <CpuTimer.h>

Public Member Functions

 CpuTimer ()
 
double cpuTime ()
 
double cpuTimeInit ()
 
void initTimer ()
 
double realTime ()
 
double realTimeInit ()
 

Static Public Member Functions

static string elapsedTimeString (double tm)
 
static string elapsedTimeStringFraction (double tm)
 
static string elapsedTimeStringFractionAbbrvUnits (double tm)
 
static double getCurrCPUTime ()
 Returns the current CPU time in msec since process start. More...
 
static double getCurrRealTime ()
 Returns the current real time (wall clock) in msec since 1970. More...
 
static string now ()
 

Detailed Description

Wall clock and cpu timing information.

Manages real (wall clock) and cpu timing information and elapsed timing information.

Constructor & Destructor Documentation

geotess::CpuTimer::CpuTimer ( )

Member Function Documentation

double geotess::CpuTimer::cpuTime ( )
double geotess::CpuTimer::cpuTimeInit ( )
static string geotess::CpuTimer::elapsedTimeString ( double  tm)
static
static string geotess::CpuTimer::elapsedTimeStringFraction ( double  tm)
static
static string geotess::CpuTimer::elapsedTimeStringFractionAbbrvUnits ( double  tm)
static
static double geotess::CpuTimer::getCurrCPUTime ( )
inlinestatic

Returns the current CPU time in msec since process start.

static double geotess::CpuTimer::getCurrRealTime ( )
inlinestatic

Returns the current real time (wall clock) in msec since 1970.

void geotess::CpuTimer::initTimer ( )
static string geotess::CpuTimer::now ( )
static
double geotess::CpuTimer::realTime ( )
double geotess::CpuTimer::realTimeInit ( )

The documentation for this class was generated from the following file: