STK++ 1.0
STK_Chrono.cpp File Reference

In this file we implement the Chrono namespace. More...

#include <ctime>
#include "../include/STK_Chrono.h"
Include dependency graph for STK_Chrono.cpp:

Go to the source code of this file.

Namespaces

namespace  STK
 

STK means the Statistical ToolKit.


namespace  STK::Chrono
 

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


Functions

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

Variables

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

Detailed Description

In this file we implement the Chrono namespace.

Definition in file STK_Chrono.cpp.