#include <SkUtils.h>
Public Member Functions | |
SkAutoMemoryUsageProbe (const char label[]) | |
~SkAutoMemoryUsageProbe () |
Definition at line 118 of file SkUtils.h.
SkAutoMemoryUsageProbe::SkAutoMemoryUsageProbe | ( | const char | label[] | ) |
Record memory usage in constructor, and dump the result (delta and current total) in the destructor, with the optional label. NOTE: label contents are not copied, just the ptr is retained, so DON'T DELETE IT.
SkAutoMemoryUsageProbe::~SkAutoMemoryUsageProbe | ( | ) |