library: libRGL #include "TGLStopwatch.h" |
TGLStopwatch
class description - source file - inheritance tree (.pdf)
private:
void FinishDrawing() const
Double_t GetClock() const
void InitOverhead() const
Double_t WaitForTick() const
public:
TGLStopwatch()
TGLStopwatch(const TGLStopwatch&)
virtual ~TGLStopwatch()
static TClass* Class()
Double_t End()
virtual TClass* IsA() const
Double_t Lap() const
TGLStopwatch& operator=(const TGLStopwatch&)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
void Start()
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
Double_t fStart ! start time (millisec)
static Bool_t fgInitOverhead ! overhead calculated?
static Double_t fgOverhead ! timing overhead (millisecs)
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.
TGLStopwatch()
Construct stopwatch object, initialising timing overheads if not done
~TGLStopwatch()
Destroy stopwatch object
void Start()
Start timing
Double_t Lap() const
Return lap time since Start(), in milliseconds
Double_t End()
End timing, return total time since Start(), in milliseconds
Double_t GetClock(void) const
Get internal clock time, in milliseconds
Use performance counter (system dependent support) if possible
void FinishDrawing(void) const
Force completion of GL drawing
Double_t WaitForTick(void) const
Wait for next clock increment - return it in milliseconds
void InitOverhead(void) const
Calcualte timing overhead
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGLStopwatch TGLStopwatch(const TGLStopwatch&)
TGLStopwatch& operator=(const TGLStopwatch&)
Author: Richard Maunder 25/05/2005
Last update: root/gl:$Name: $:$Id: TGLStopwatch.cxx,v 1.7 2006/02/09 09:56:20 couet Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
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.