15#ifndef ML_ACCUMULATED_PROFILE_H
16#define ML_ACCUMULATED_PROFILE_H
void reset()
Resets the accumulated profile.
MLProfilingTimeType getConsumedTime() const
Returns the accumulated consumed time (aka self time).
MLProfilingMemoryType getTotalMemory() const
Returns the total amount of allocated memory.
void feed(const MLMetaProfile &profile)
Accumulates the profiles associated with address of the profiler to this profiles.
MLAccumulatedProfile & operator+=(const MLAccumulatedProfile &other)
This operator does the same as feed(), provided for convenience.
MLProfilingMemoryType getCurrentlyUsedMemory() const
Returns the currently used memory.
void feed(const MLAccumulatedProfile &profile)
Accumulates the profiles of the accumulated profile to this profiles.
double MLProfilingTimeType
size_t MLProfilingMemoryType
#define MLPROFILINGMANAGER_EXPORT
Target mlrange_cast(Source arg)
Generic version of checked ML casts.