CbmRoot
TimerInfo Class Reference

#include <L1Timer.h>

Collaboration diagram for TimerInfo:
[legend]

Public Member Functions

 TimerInfo ()
 
 TimerInfo (const string &name)
 
TimerInfooperator= (TStopwatch &sw)
 
TimerInfooperator+= (TStopwatch &sw)
 
void operator+= (const TimerInfo &t)
 
TimerInfo operator/ (const float f) const
 
void PrintReal ()
 
float Real ()
 
string & Name ()
 

Private Attributes

string fName
 
float fReal
 
float fCpu
 

Detailed Description

Definition at line 25 of file L1Timer.h.

Constructor & Destructor Documentation

◆ TimerInfo() [1/2]

TimerInfo::TimerInfo ( )
inline

Definition at line 27 of file L1Timer.h.

◆ TimerInfo() [2/2]

TimerInfo::TimerInfo ( const string &  name)
inline

Definition at line 28 of file L1Timer.h.

Member Function Documentation

◆ Name()

string& TimerInfo::Name ( )
inline

Definition at line 55 of file L1Timer.h.

References fName.

◆ operator+=() [1/2]

void TimerInfo::operator+= ( const TimerInfo t)
inline

Definition at line 40 of file L1Timer.h.

References fCpu, and fReal.

◆ operator+=() [2/2]

TimerInfo& TimerInfo::operator+= ( TStopwatch &  sw)
inline

Definition at line 35 of file L1Timer.h.

References fCpu, and fReal.

◆ operator/()

TimerInfo TimerInfo::operator/ ( const float  f) const
inline

Definition at line 44 of file L1Timer.h.

References f, fCpu, fName, and fReal.

◆ operator=()

TimerInfo& TimerInfo::operator= ( TStopwatch &  sw)
inline

Definition at line 30 of file L1Timer.h.

References fCpu, and fReal.

◆ PrintReal()

void TimerInfo::PrintReal ( )
inline

Definition at line 53 of file L1Timer.h.

References fReal.

◆ Real()

float TimerInfo::Real ( )
inline

Definition at line 54 of file L1Timer.h.

References fReal.

Member Data Documentation

◆ fCpu

float TimerInfo::fCpu
private

Definition at line 59 of file L1Timer.h.

Referenced by operator+=(), operator/(), and operator=().

◆ fName

string TimerInfo::fName
private

Definition at line 58 of file L1Timer.h.

Referenced by Name(), and operator/().

◆ fReal

float TimerInfo::fReal
private

Definition at line 59 of file L1Timer.h.

Referenced by operator+=(), operator/(), operator=(), PrintReal(), and Real().


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