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.
MLAccumulatedProfile & operator+=(const MLAccumulatedProfile &other)
This operator does the same as feed(), provided for convenience.
void feed(const MLMetaProfile &profile)
Accumulates the profiles associated with address of the profiler to this profiles.
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