STK++ 1.0
STK::Chrono Namespace Reference

The namespace Chrono is an utility namespace for computing elapsed time during the execution of a program. More...

Functions

void start ()
 Start the Chrono.
Real elapsed ()
 Compute the elapsed time (in second) since last start() call.

Variables

static clock_t t_start
 Contained the starting time when the chrono is started.
static clock_t t_end
 Contained the ending time when the chrono is stopped.

Detailed Description

The namespace Chrono is an utility namespace for computing elapsed time during the execution of a program.


Variable Documentation

clock_t STK::Chrono::t_start [static]

Contained the starting time when the chrono is started.

Definition at line 47 of file STK_Chrono.cpp.

Referenced by elapsed(), and start().

clock_t STK::Chrono::t_end [static]

Contained the ending time when the chrono is stopped.

Definition at line 50 of file STK_Chrono.cpp.

Referenced by elapsed().