#include <vpr/Perf/ProfileManager.h>
Public Member Functions | |
| ProfileSample (const char *name) | |
| ProfileSample (const char *name, const unsigned int queue_size) | |
| ~ProfileSample () | |
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.
| 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 }
1.5.1