Panda3D
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Friends | List of all members
ProfileTimer Class Reference

Classes

class  AutoTimer
 

Public Member Functions

 ProfileTimer (const char *name=0, int maxEntries=MaxEntriesDefault)
 
 ProfileTimer (const ProfileTimer &other)
 
void consolidateTo (std::ostream &out=std::cout) const
 
double getTotalTime () const
 
void init (const char *name, int maxEntries=MaxEntriesDefault)
 
void mark (const char *tag)
 
void off ()
 
void off (const char *tag)
 
void on ()
 
void printTo (std::ostream &out=std::cout) const
 

Static Public Member Functions

static void consolidateAllTo (std::ostream &out=std::cout)
 
static void printAllTo (std::ostream &out=std::cout)
 

Friends

class ProfileTimer::AutoTimer
 

Detailed Description

Definition at line 40 of file profileTimer.h.

Constructor & Destructor Documentation

◆ ProfileTimer() [1/2]

ProfileTimer::ProfileTimer ( const char * name = 0,
int maxEntries = MaxEntriesDefault )
explicit

Definition at line 26 of file profileTimer.cxx.

◆ ProfileTimer() [2/2]

ProfileTimer::ProfileTimer ( const ProfileTimer & other)

Definition at line 38 of file profileTimer.cxx.

◆ ~ProfileTimer()

ProfileTimer::~ProfileTimer ( )

Definition at line 59 of file profileTimer.cxx.

Member Function Documentation

◆ consolidateAllTo()

void ProfileTimer::consolidateAllTo ( std::ostream & out = std::cout)
static

Definition at line 100 of file profileTimer.cxx.

◆ consolidateTo()

void ProfileTimer::consolidateTo ( std::ostream & out = std::cout) const

Definition at line 109 of file profileTimer.cxx.

◆ getTotalTime()

double ProfileTimer::getTotalTime ( ) const

Definition at line 89 of file profileTimer.cxx.

◆ init()

void ProfileTimer::init ( const char * name,
int maxEntries = MaxEntriesDefault )

Definition at line 79 of file profileTimer.cxx.

◆ mark()

void ProfileTimer::mark ( const char * tag)
inline

Definition at line 28 of file profileTimer.I.

◆ off() [1/2]

void ProfileTimer::off ( )
inline

Definition at line 45 of file profileTimer.I.

◆ off() [2/2]

void ProfileTimer::off ( const char * tag)
inline

Definition at line 52 of file profileTimer.I.

◆ on()

void ProfileTimer::on ( )
inline

Definition at line 12 of file profileTimer.I.

◆ printAllTo()

void ProfileTimer::printAllTo ( std::ostream & out = std::cout)
static

Definition at line 136 of file profileTimer.cxx.

◆ printTo()

void ProfileTimer::printTo ( std::ostream & out = std::cout) const

Definition at line 145 of file profileTimer.cxx.

Friends And Related Symbol Documentation

◆ ProfileTimer::AutoTimer

friend class ProfileTimer::AutoTimer
friend

Definition at line 98 of file profileTimer.h.


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