MeVisLabToolboxReference
MLAccumulatedProfile Class Reference

#include <mlAccumulatedProfile.h>

List of all members.

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 22 of file mlAccumulatedProfile.h.


Constructor & Destructor Documentation

MLAccumulatedProfile::MLAccumulatedProfile ( ) [inline]

Definition at line 25 of file mlAccumulatedProfile.h.


Member Function Documentation

void MLAccumulatedProfile::feed ( const MLMetaProfile profile)

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

void MLAccumulatedProfile::feed ( const MLAccumulatedProfile profile)

Accumulates the profiles of the accumulated profile to this profiles.

MLProfilingTimeType MLAccumulatedProfile::getConsumedTime ( ) const [inline]

Returns the accumulated consumed time (aka self time).

Definition at line 43 of file mlAccumulatedProfile.h.

MLProfilingMemoryType MLAccumulatedProfile::getCurrentlyUsedMemory ( ) const [inline]

Returns the currently used memory.

Definition at line 40 of file mlAccumulatedProfile.h.

MLProfilingMemoryType MLAccumulatedProfile::getTotalMemory ( ) const [inline]

Returns the total amount of allocated memory.

Definition at line 37 of file mlAccumulatedProfile.h.

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

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

Definition at line 46 of file mlAccumulatedProfile.h.

void MLAccumulatedProfile::reset ( )

Resets the accumulated profile.


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