class TGLStopwatch


TGLStopwatch

Stopwatch object for timing GL work. We do not use the TStopwatch as
we need to perform GL flushing to get accurate times + we record
timing overheads here.

Function Members (Methods)

public:
TGLStopwatch()
TGLStopwatch(const TGLStopwatch&)
virtual~TGLStopwatch()
static TClass*Class()
Double_tEnd()
virtual TClass*IsA() const
Double_tLap() const
Double_tLastRun() const
TGLStopwatch&operator=(const TGLStopwatch&)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
voidStart()
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
private:
Double_tGetClock() const

Data Members

private:
Double_tfEnd! end time (millisec)
Double_tfLastRun! time of last run (milisec)
Double_tfStart! start time (millisec)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLStopwatch(const TGLStopwatch& )
 Construct stopwatch object.
~TGLStopwatch()
 Destroy stopwatch object.
void Start()
 Start timing.
Double_t Lap()
 Return lap time since Start(), in milliseconds.
Double_t End()
 End timing, return total time since Start(), in milliseconds.
Double_t GetClock(void)
 Get internal clock time, in milliseconds.
TGLStopwatch(const TGLStopwatch& )
Double_t LastRun()
{ return fLastRun; }

Author: Richard Maunder 25/05/2005
Last change: root/gl:$Id: TGLStopwatch.h 23087 2008-04-09 14:10:56Z rdm $
Last generated: 2008-06-25 08:41
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.