MeVisLabToolboxReference
MLProfilingManager Class Reference

#include <mlProfilingManager.h>

List of all members.

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 (long 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 long double getCurrentTime ()
 Returns the current time in seconds.

Friends

class MLMetaProfile
class MLMetaProfilePtr

Detailed Description

Definition at line 28 of file mlProfilingManager.h.


Member Function Documentation

static std::string MLProfilingManager::byteToHumanReadable ( size_t  bytes) [static]

Converts the number of bytes into a human readable representation.

static void MLProfilingManager::deinitialize ( ) [static]

Destroys the singleton.

long double MLProfilingManager::getCurrentTime ( ) [inline, static]

Returns the current time in seconds.

Definition at line 86 of file mlProfilingManager.h.

static void MLProfilingManager::initialize ( ) [static]

Initializes the singleton.

static bool MLProfilingManager::isProfilingEnabled ( ) [inline, static]

Returns if profiling is enabled.

Definition at line 41 of file mlProfilingManager.h.

static bool MLProfilingManager::isTimeProfilingGraphEnabled ( ) [inline, static]

Returns if the time profiling graph is enabled.

Definition at line 53 of file mlProfilingManager.h.

static void MLProfilingManager::resetAllProfilingData ( ) [static]

Resets all profiling data.

static void MLProfilingManager::setProfilingEnabled ( bool  enabled) [static]

Sets if profiling is enabled.

static void MLProfilingManager::setTimeProfilingGraphEnabled ( bool  enabled) [inline, static]

Sets if the time profiling graph is enabled.

Definition at line 50 of file mlProfilingManager.h.

static std::string MLProfilingManager::timeToHumanReadable ( long double  time) [static]

Converts the time into a human readable representation.


Friends And Related Function Documentation

friend class MLMetaProfile [friend]

Definition at line 78 of file mlProfilingManager.h.

friend class MLMetaProfilePtr [friend]

Definition at line 79 of file mlProfilingManager.h.


The documentation for this class was generated from the following file: