MeVisLab Toolbox Reference
MLAccumulatedProfile Class Reference

#include <mlAccumulatedProfile.h>

Public Member Functions

 MLAccumulatedProfile ()
 
void reset ()
 Resets the accumulated profile.
 
void feed (const MLMetaProfile &profile)
 Accumulates the profiles associated with address of the profiler to this profiles.
 
void feed (const MLAccumulatedProfile &profile)
 Accumulates the profiles of the accumulated profile to this profiles.
 
MLProfilingMemoryType getTotalMemory () const
 Returns the total amount of allocated memory.
 
MLProfilingMemoryType getCurrentlyUsedMemory () const
 Returns the currently used memory.
 
MLProfilingTimeType getConsumedTime () const
 Returns the accumulated consumed time (aka self time).
 
MLAccumulatedProfileoperator+= (const MLAccumulatedProfile &other)
 This operator does the same as feed(), provided for convenience.
 

Detailed Description

Definition at line 27 of file mlAccumulatedProfile.h.

Constructor & Destructor Documentation

◆ MLAccumulatedProfile()

MLAccumulatedProfile::MLAccumulatedProfile ( )
inline

Definition at line 30 of file mlAccumulatedProfile.h.

Member Function Documentation

◆ feed() [1/2]

void MLAccumulatedProfile::feed ( const MLAccumulatedProfile & profile)

Accumulates the profiles of the accumulated profile to this profiles.

◆ feed() [2/2]

void MLAccumulatedProfile::feed ( const MLMetaProfile & profile)

Accumulates the profiles associated with address of the profiler to this profiles.

◆ getConsumedTime()

MLProfilingTimeType MLAccumulatedProfile::getConsumedTime ( ) const
inline

Returns the accumulated consumed time (aka self time).

Definition at line 48 of file mlAccumulatedProfile.h.

◆ getCurrentlyUsedMemory()

MLProfilingMemoryType MLAccumulatedProfile::getCurrentlyUsedMemory ( ) const
inline

Returns the currently used memory.

Definition at line 45 of file mlAccumulatedProfile.h.

◆ getTotalMemory()

MLProfilingMemoryType MLAccumulatedProfile::getTotalMemory ( ) const
inline

Returns the total amount of allocated memory.

Definition at line 42 of file mlAccumulatedProfile.h.

◆ operator+=()

MLAccumulatedProfile & MLAccumulatedProfile::operator+= ( const MLAccumulatedProfile & other)
inline

This operator does the same as feed(), provided for convenience.

Definition at line 51 of file mlAccumulatedProfile.h.

References mlrange_cast().

◆ reset()

void MLAccumulatedProfile::reset ( )

Resets the accumulated profile.


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