Skyscraper 2.0
|
#include <profiler.h>
Public Member Functions | |
ProfileSample (const char *name, bool advanced=true) | |
~ProfileSample (void) | |
Private Attributes | |
bool | is_advanced |
ProfileSampleClass is a simple way to profile a function's scope Use the SBS_PROFILE macro at the start of scope to time
Definition at line 122 of file profiler.h.
SBS::ProfileSample::ProfileSample | ( | const char * | name, |
bool | advanced = true ) |
Definition at line 367 of file profiler.cpp.
References SBS::enable_advanced_profiling, is_advanced, and SBS::ProfileManager::Start_Profile().
SBS::ProfileSample::~ProfileSample | ( | void | ) |
Definition at line 375 of file profiler.cpp.
References SBS::enable_advanced_profiling, is_advanced, and SBS::ProfileManager::Stop_Profile().
|
private |
Definition at line 127 of file profiler.h.
Referenced by ProfileSample(), and ~ProfileSample().