Main Page   Class Hierarchy   Compound List   File List   Compound Members  

MFUtil::Timing Class Reference

#include <Timing.h>

List of all members.

Public Methods

void startChrono (const std::string &p_description)
void endChrono (const std::string &p_description)
std::string getTiming (const std::string &p_description)


Detailed Description

Class to record program action timings. Different time record stream are made possible and a label or a 'description' is associated to each of the chrono.


Member Function Documentation

void MFUtil::Timing::endChrono const std::string &    p_description
 

Stop the chronometer for the specified stream. If the description text is not found, an Exception is thrown.

Parameters:
p_description  Name of the stream to stop.

std::string MFUtil::Timing::getTiming const std::string &    p_description
 

Return the timings (in seconds) in a textual human readable format. If the description text is not found, an Exception is thrown.

void MFUtil::Timing::startChrono const std::string &    p_description
 

Start a chronometer for a specified stream. If the description text is not found, an Exception is thrown.

Parameters:
p_description  Defines the name of the stream to be started.


The documentation for this class was generated from the following file:
Generated on Sat Nov 4 15:59:01 2006 for GLARE by doxygen1.2.18