RMOL Logo Get Revenue Management Optimisation Library at SourceForge.net. Fast, secure and Free Open Source software downloads
RMOL::BasChronometer Struct Reference

#include <rmol/basic/BasChronometer.hpp>

List of all members.

Public Member Functions

 BasChronometer ()
void start ()
std::string getStart () const
double elapsed () const

Detailed Description

Structure allowing measuring the time elapsed between two events.

Definition at line 13 of file BasChronometer.hpp.


Constructor & Destructor Documentation

RMOL::BasChronometer::BasChronometer ( )

Constructor.

Definition at line 13 of file BasChronometer.cpp.


Member Function Documentation

void RMOL::BasChronometer::start ( )

Start the chronometer from the local time
The elapsed time given is the one elapsed since the start is launched.

Definition at line 17 of file BasChronometer.cpp.

Referenced by RMOL::Optimiser::heuristicOptimisationByEmsr(), RMOL::Optimiser::optimalOptimisationByMCIntegration(), and RMOL::MCOptimiser::optimalOptimisationByMCIntegration().

std::string RMOL::BasChronometer::getStart ( ) const [inline]

Get the start time.

Definition at line 23 of file BasChronometer.hpp.

double RMOL::BasChronometer::elapsed ( ) const

Return the time elapsed since the structure has been instanciated.
That elapsed time is expressed in seconds.

Definition at line 27 of file BasChronometer.cpp.

Referenced by RMOL::Optimiser::heuristicOptimisationByEmsr(), RMOL::Optimiser::optimalOptimisationByMCIntegration(), and RMOL::MCOptimiser::optimalOptimisationByMCIntegration().


The documentation for this struct was generated from the following files: