#include <TGLStopwatch.h>
Public Member Functions | |
TGLStopwatch () | |
virtual | ~TGLStopwatch () |
void | Start () |
Double_t | Lap () const |
Double_t | End () |
Double_t | LastRun () const |
TGLStopwatch () | |
virtual | ~TGLStopwatch () |
void | Start () |
Double_t | Lap () const |
Double_t | End () |
Double_t | LastRun () const |
Private Member Functions | |
Double_t | GetClock (void) const |
time of last run (milisec) | |
Double_t | GetClock (void) const |
time of last run (milisec) | |
Private Attributes | |
Double_t | fStart |
Double_t | fEnd |
start time (millisec) | |
Double_t | fLastRun |
end time (millisec) |
Definition at line 34 of file TGLStopwatch.h.
TGLStopwatch::TGLStopwatch | ( | ) |
Definition at line 33 of file TGLStopwatch.cxx.
TGLStopwatch::~TGLStopwatch | ( | ) | [virtual] |
Definition at line 39 of file TGLStopwatch.cxx.
TGLStopwatch::TGLStopwatch | ( | ) |
virtual TGLStopwatch::~TGLStopwatch | ( | ) | [virtual] |
Double_t TGLStopwatch::GetClock | ( | void | ) | const [private] |
time of last run (milisec)
Definition at line 81 of file TGLStopwatch.cxx.
References gettimeofday(), and t.
void TGLStopwatch::Start | ( | ) |
Definition at line 45 of file TGLStopwatch.cxx.
References fEnd, fStart, and GetClock().
Referenced by TGLScenePad::BeginScene(), and TGLRnrCtx::StartStopwatch().
Double_t TGLStopwatch::Lap | ( | ) | const |
Definition at line 55 of file TGLStopwatch.cxx.
References fStart, and GetClock().
Referenced by TGLRnrCtx::HasStopwatchTimedOut().
Double_t TGLStopwatch::End | ( | ) |
Definition at line 67 of file TGLStopwatch.cxx.
References fEnd, fLastRun, fStart, and GetClock().
Referenced by TGLScenePad::BeginScene(), and TGLRnrCtx::StopStopwatch().
Double_t TGLStopwatch::LastRun | ( | ) | const [inline] |
Double_t TGLStopwatch::GetClock | ( | void | ) | const [private] |
time of last run (milisec)
void TGLStopwatch::Start | ( | ) |
Double_t TGLStopwatch::Lap | ( | ) | const |
Double_t TGLStopwatch::End | ( | ) |
Double_t TGLStopwatch::LastRun | ( | ) | const [inline] |
Double_t TGLStopwatch::fStart [private] |
Double_t TGLStopwatch::fEnd [private] |
Double_t TGLStopwatch::fLastRun [private] |