BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
TimerInfo Class Reference

#include <L1Timer.h>

Public Member Functions

 TimerInfo ()
 TimerInfo (const string &name)
void operator= (TStopwatch &sw)
void operator+= (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 28 of file L1Timer.h.

References fCpu, fName, and fReal.

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

Here is the caller graph for this function:

◆ TimerInfo() [2/2]

TimerInfo::TimerInfo ( const string & name)
inline

Definition at line 32 of file L1Timer.h.

References fCpu, fName, and fReal.

Member Function Documentation

◆ Name()

string & TimerInfo::Name ( )
inline

Definition at line 64 of file L1Timer.h.

References fName.

◆ operator+=() [1/2]

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

Definition at line 47 of file L1Timer.h.

References TimerInfo(), fCpu, and fReal.

Here is the call graph for this function:

◆ operator+=() [2/2]

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

Definition at line 42 of file L1Timer.h.

References TStopwatch::CpuTime(), fCpu, fReal, and TStopwatch::RealTime().

Here is the call graph for this function:

◆ operator/()

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

Definition at line 52 of file L1Timer.h.

References TimerInfo(), f, fCpu, fName, and fReal.

Here is the call graph for this function:

◆ operator=()

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

Definition at line 37 of file L1Timer.h.

References TStopwatch::CpuTime(), fCpu, fReal, and TStopwatch::RealTime().

Here is the call graph for this function:

◆ PrintReal()

void TimerInfo::PrintReal ( )
inline

Definition at line 62 of file L1Timer.h.

References fReal.

◆ Real()

float TimerInfo::Real ( )
inline

Definition at line 63 of file L1Timer.h.

References fReal.

Member Data Documentation

◆ fCpu

float TimerInfo::fCpu
private

Definition at line 68 of file L1Timer.h.

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

◆ fName

string TimerInfo::fName
private

Definition at line 67 of file L1Timer.h.

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

◆ fReal

float TimerInfo::fReal
private

Definition at line 68 of file L1Timer.h.

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


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