webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <MemoryMeasure.h>
Public Member Functions | |
MemoryMeasure () | |
MemoryMeasure (const char *log) | |
~MemoryMeasure () | |
Static Public Member Functions | |
static void | enableLogging (bool enabled) |
static bool | isLoggingEnabled () |
A simple class that measures the difference in the resident memory of the process between its contruction and destruction. It uses the mach API - task_info - to figure this out.
|
inline |
|
inline |
WebKit::MemoryMeasure::~MemoryMeasure | ( | ) |
|
static |
|
static |