Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4ProfileTimer Class Reference

#include <TGo4ProfileTimer.h>

List of all members.

Public Types

typedef rusage Rusage
typedef TGo4ProfileTimer::TGo4ElapsedTime TGo4ElapsedTime

Public Methods

 TGo4ProfileTimer (void)
virtual ~TGo4ProfileTimer (void)
Int_t Start (void)
Int_t Stop (void)
Int_t ElapsedTime (TGo4ElapsedTime &et)
void ElapsedRusage (TGo4ProfileTimer::Rusage &rusage)
void GetRusage (TGo4ProfileTimer::Rusage &rusage)
void Dump (void) const
void Resume (void)
void Memory (void)

Private Methods

void ComputeTimes (TGo4ElapsedTime &et)
void Subtract (timeval &tdiff, timeval &t0, timeval &t1)

Private Attributes

TGo4ProfileTimer::Rusage fxBeginUsage
TGo4ProfileTimer::Rusage fxEndUsage
TGo4ProfileTimer::Rusage fxLastUsage
timeval fxBeginTime
timeval fxEndTime
timeval fxLastTime


Member Typedef Documentation

typedef rusage TGo4ProfileTimer::Rusage
 

Definition at line 45 of file TGo4ProfileTimer.h.

Referenced by ElapsedRusage(), GetRusage(), main(), Memory(), and Resume().

typedef TGo4ProfileTimer::TGo4ElapsedTime TGo4ProfileTimer::TGo4ElapsedTime
 

Definition at line 46 of file TGo4ProfileTimer.h.


Constructor & Destructor Documentation

TGo4ProfileTimer::TGo4ProfileTimer void   
 

Definition at line 132 of file TGo4ProfileTimer.cxx.

TGo4ProfileTimer::~TGo4ProfileTimer void    [virtual]
 

Definition at line 54 of file TGo4ProfileTimer.cxx.


Member Function Documentation

Int_t TGo4ProfileTimer::Start void   
 

Definition at line 32 of file TGo4ProfileTimer.cxx.

References fxBeginTime, fxBeginUsage, fxLastTime, and fxLastUsage.

Referenced by main().

Int_t TGo4ProfileTimer::Stop void   
 

Definition at line 42 of file TGo4ProfileTimer.cxx.

References fxEndTime, fxEndUsage, fxLastTime, and fxLastUsage.

Referenced by main().

Int_t TGo4ProfileTimer::ElapsedTime TGo4ElapsedTime   et
 

Definition at line 236 of file TGo4ProfileTimer.cxx.

References ComputeTimes().

Referenced by main(), and Resume().

void TGo4ProfileTimer::ElapsedRusage TGo4ProfileTimer::Rusage   rusage
 

Definition at line 159 of file TGo4ProfileTimer.cxx.

References fxEndUsage, fxLastUsage, Rusage, and Subtract().

Referenced by main(), Memory(), and Resume().

void TGo4ProfileTimer::GetRusage TGo4ProfileTimer::Rusage   rusage
 

Definition at line 151 of file TGo4ProfileTimer.cxx.

References fxEndUsage, and Rusage.

void TGo4ProfileTimer::Dump void    const
 

Definition at line 59 of file TGo4ProfileTimer.cxx.

void TGo4ProfileTimer::Resume void   
 

Definition at line 66 of file TGo4ProfileTimer.cxx.

References ElapsedRusage(), ElapsedTime(), TGo4ProfileTimer::TGo4ElapsedTime::fdRealTime, and Rusage.

Referenced by main().

void TGo4ProfileTimer::Memory void   
 

Definition at line 90 of file TGo4ProfileTimer.cxx.

References ElapsedRusage(), and Rusage.

Referenced by main().

void TGo4ProfileTimer::ComputeTimes TGo4ElapsedTime   et [private]
 

Definition at line 199 of file TGo4ProfileTimer.cxx.

References TGo4ProfileTimer::TGo4ElapsedTime::fdRealTime, TGo4ProfileTimer::TGo4ElapsedTime::fdSystemTime, TGo4ProfileTimer::TGo4ElapsedTime::fdUserTime, ONE_SECOND_IN_USECS, and Subtract().

Referenced by ElapsedTime().

void TGo4ProfileTimer::Subtract timeval &    tdiff,
timeval &    t0,
timeval &    t1
[private]
 

Definition at line 219 of file TGo4ProfileTimer.cxx.

References ONE_SECOND_IN_USECS.

Referenced by ComputeTimes(), and ElapsedRusage().


Member Data Documentation

TGo4ProfileTimer::Rusage TGo4ProfileTimer::fxBeginUsage [private]
 

Definition at line 85 of file TGo4ProfileTimer.h.

Referenced by Start().

TGo4ProfileTimer::Rusage TGo4ProfileTimer::fxEndUsage [private]
 

Definition at line 88 of file TGo4ProfileTimer.h.

Referenced by ElapsedRusage(), GetRusage(), and Stop().

TGo4ProfileTimer::Rusage TGo4ProfileTimer::fxLastUsage [private]
 

Definition at line 91 of file TGo4ProfileTimer.h.

Referenced by ElapsedRusage(), Start(), and Stop().

timeval TGo4ProfileTimer::fxBeginTime [private]
 

Definition at line 97 of file TGo4ProfileTimer.h.

Referenced by Start().

timeval TGo4ProfileTimer::fxEndTime [private]
 

Definition at line 100 of file TGo4ProfileTimer.h.

Referenced by Stop().

timeval TGo4ProfileTimer::fxLastTime [private]
 

Definition at line 103 of file TGo4ProfileTimer.h.

Referenced by Start(), and Stop().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:50 2005 for Go4-v2.10-5 by doxygen1.2.15