vpr::ProfileSample Class Reference

ProfileSample is a guard style class for handle a single sample. More...

#include <vpr/Perf/ProfileManager.h>

List of all members.

Public Member Functions

 ProfileSample (const char *name)
 ProfileSample (const char *name, const unsigned int queue_size)
 ~ProfileSample ()


Detailed Description

ProfileSample is a guard style class for handle a single sample.

This class implements a guard pattern where by the creation of a ProfileSample object starts a sample and the destruction stops the sampling.

In most cases this class should not be used directly but instead the PROFILE_ macro's should be used.

Definition at line 309 of file ProfileManager.h.


Constructor & Destructor Documentation

vpr::ProfileSample::ProfileSample ( const char *  name  )  [inline]

Definition at line 312 of file ProfileManager.h.

References vpr::ProfileManager::startProfile().

00313       {
00314          ProfileManager::startProfile(name);
00315       }

vpr::ProfileSample::ProfileSample ( const char *  name,
const unsigned int  queue_size 
) [inline]

Definition at line 317 of file ProfileManager.h.

References vpr::ProfileManager::startProfile().

00318       {
00319          ProfileManager::startProfile(name, queue_size);
00320       }

vpr::ProfileSample::~ProfileSample (  )  [inline]

Definition at line 322 of file ProfileManager.h.

References vpr::ProfileManager::stopProfile().

00323       {
00324          ProfileManager::stopProfile();
00325       }


The documentation for this class was generated from the following file:
Generated on Thu Jan 4 10:55:49 2007 for VR Juggler Portable Runtime by  doxygen 1.5.1