The Pedigree Project 0.1
Public Member Functions | Private Attributes | List of all members
MemoryCount Class Reference

#include <MemoryCount.h>

+ Collaboration diagram for MemoryCount:

Public Member Functions

 MemoryCount (const char *context)
 

Private Attributes

size_t m_StartPages
 
size_t m_EndPages
 
const char * m_Context
 

Detailed Description

RAII handler to figure out memory usage delta from start to end of scope.

Definition at line 27 of file MemoryCount.h.

Constructor & Destructor Documentation

◆ MemoryCount()

MemoryCount::MemoryCount ( const char *  context)

Definition at line 25 of file MemoryCount.cc.

◆ ~MemoryCount()

MemoryCount::~MemoryCount ( )
virtual

Definition at line 31 of file MemoryCount.cc.

Member Data Documentation

◆ m_Context

const char* MemoryCount::m_Context
private

Definition at line 35 of file MemoryCount.h.

◆ m_EndPages

size_t MemoryCount::m_EndPages
private

Definition at line 34 of file MemoryCount.h.

◆ m_StartPages

size_t MemoryCount::m_StartPages
private

Definition at line 33 of file MemoryCount.h.


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