NorMIT-nav  22.09
An IGT application
cx::TimeKeeper Class Reference

#include <cxTimeKeeper.h>

Public Member Functions

 TimeKeeper ()
 
void printElapsedSeconds (QString text="Elapsed time")
 
void printElapsedms (QString text="Elapsed") const
 
QString getElapsedSecondsAsString () const
 
int getElapsedms () const
 
void reset ()
 

Detailed Description

Helper class for measuring and printing the time spent in code.

Date
Nov 06, 2012
Author
christiana

Definition at line 30 of file cxTimeKeeper.h.

Constructor & Destructor Documentation

◆ TimeKeeper()

cx::TimeKeeper::TimeKeeper ( )

Definition at line 20 of file cxTimeKeeper.cpp.

Member Function Documentation

◆ getElapsedms()

int cx::TimeKeeper::getElapsedms ( ) const

Definition at line 36 of file cxTimeKeeper.cpp.

◆ getElapsedSecondsAsString()

QString cx::TimeKeeper::getElapsedSecondsAsString ( ) const

Definition at line 31 of file cxTimeKeeper.cpp.

◆ printElapsedms()

void cx::TimeKeeper::printElapsedms ( QString  text = "Elapsed") const

Definition at line 26 of file cxTimeKeeper.cpp.

◆ printElapsedSeconds()

void cx::TimeKeeper::printElapsedSeconds ( QString  text = "Elapsed time")

Definition at line 22 of file cxTimeKeeper.cpp.

◆ reset()

void cx::TimeKeeper::reset ( )

Definition at line 41 of file cxTimeKeeper.cpp.


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