NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 51 of file cxTimeKeeper.h.

Constructor & Destructor Documentation

cx::TimeKeeper::TimeKeeper ( )

Definition at line 41 of file cxTimeKeeper.cpp.

Member Function Documentation

int cx::TimeKeeper::getElapsedms ( ) const

Definition at line 57 of file cxTimeKeeper.cpp.

QString cx::TimeKeeper::getElapsedSecondsAsString ( ) const

Definition at line 52 of file cxTimeKeeper.cpp.

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

Definition at line 47 of file cxTimeKeeper.cpp.

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

Definition at line 43 of file cxTimeKeeper.cpp.

void cx::TimeKeeper::reset ( )

Definition at line 62 of file cxTimeKeeper.cpp.


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