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 whether profiling is enabled. | |
static bool | isProfilingEnabled () |
Returns whether 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 whether the time profiling graph is enabled. | |
static bool | isTimeProfilingGraphEnabled () |
Returns whether 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 () |
Returns access to the global recursive mutex of the profiling. | |
static void | enableTracing (const char *filename) |
Enables call tracing and set the trace filname. | |
static void | disableTracing () |
Disables call tracing. | |
static bool | isTracingEnabled () |
Returns whether 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.
Enables call tracing and set the trace filname.
|
inlinestatic |
Returns the current time in seconds.
Definition at line 109 of file mlProfilingManager.h.
|
inlinestatic |
Returns access to the global recursive mutex of the profiling.
Definition at line 71 of file mlProfilingManager.h.
Returns whether profiling is enabled.
Definition at line 50 of file mlProfilingManager.h.
Returns whether the time profiling graph is enabled.
Definition at line 62 of file mlProfilingManager.h.
Returns whether call tracing is enabled.
Sets whether profiling is enabled.
Sets whether 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.