MeVisLab Toolbox Reference
|
#include <mlProfilingManager.h>
Static Public Member Functions | |
static void | initialize () |
Initializes the singleton. | |
static void | deinitialize () |
Destroys the singleton. | |
static void | setProfilingEnabled (bool enabled) |
Sets if profiling is enabled. | |
static bool | isProfilingEnabled () |
Returns if profiling is enabled. | |
static std::string | byteToHumanReadable (size_t bytes) |
Converts the number of bytes into a human readable representation. | |
static std::string | timeToHumanReadable (double time) |
Converts the time into a human readable representation. | |
static void | setTimeProfilingGraphEnabled (bool enabled) |
Sets if the time profiling graph is enabled. | |
static bool | isTimeProfilingGraphEnabled () |
Returns if the time profiling graph is enabled. | |
static void | resetAllProfilingData () |
Resets all profiling data. | |
static double | getCurrentTime () |
Returns the current time in seconds. | |
static ml::RecursiveMutex & | globalMutex () |
Get access to the global recursive mutex of the profiling. | |
static void | enableTracing (const char *filename) |
Enable call tracing and set the trace filname. | |
static void | disableTracing () |
Disables call tracing. | |
static bool | isTracingEnabled () |
Returns if call tracing is enabled. | |
Friends | |
class | MLMetaProfile |
class | MLMetaProfilePtr |
Definition at line 37 of file mlProfilingManager.h.
Converts the number of bytes into a human readable representation.
Enable call tracing and set the trace filname.
|
inlinestatic |
Returns the current time in seconds.
Definition at line 109 of file mlProfilingManager.h.
|
inlinestatic |
Get access to the global recursive mutex of the profiling.
Definition at line 71 of file mlProfilingManager.h.
Returns if profiling is enabled.
Definition at line 50 of file mlProfilingManager.h.
Returns if the time profiling graph is enabled.
Definition at line 62 of file mlProfilingManager.h.
Sets if profiling is enabled.
Sets if the time profiling graph is enabled.
Definition at line 59 of file mlProfilingManager.h.
Converts the time into a human readable representation.
|
friend |
Definition at line 101 of file mlProfilingManager.h.
|
friend |
Definition at line 102 of file mlProfilingManager.h.