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

PStatTimer Class Reference

A lightweight class that can be used to automatically start and stop a PStatCollector around a section of code. More...

#include <pStatTimer.h>

List of all members.

Public Member Functions

 PStatTimer (PStatCollector &)
 ~PStatTimer ()


Detailed Description

A lightweight class that can be used to automatically start and stop a PStatCollector around a section of code.

It's intended to be used in the following way: create a local PStatTimer variable to start the Collector, and when the PStatTimer variable goes out of scope (for instance, at the end of the function), it will automatically stop the Collector.

Definition at line 48 of file pStatTimer.h.


Constructor & Destructor Documentation

PStatTimer::PStatTimer PStatCollector  )  [inline]
 

Definition at line 59 of file pStatTimer.h.

PStatTimer::~PStatTimer  )  [inline]
 

Definition at line 60 of file pStatTimer.h.


The documentation for this class was generated from the following file:
Generated on Fri May 2 00:54:31 2003 for Panda by doxygen1.3