#include <itkSmapsFileParser.h>
Public Types | |
typedef unsigned long | MemoryLoadType |
Public Member Functions | |
bool | Empty () |
virtual MemoryLoadType | GetHeapUsage ()=0 |
virtual MemoryLoadType | GetMemoryUsage (const char *filter, const char *token) |
virtual MemoryLoadType | GetStackUsage ()=0 |
virtual MemoryLoadType | GetTotalMemoryUsage () |
virtual | ~MapData () |
Protected Types | |
typedef std::vector< MapRecord * > | MapRecordVectorType |
Protected Member Functions | |
void | Reset (void) |
Protected Attributes | |
MapRecordVectorType | m_Records |
MAP DATA Base class for the ?map data container. Inherited classes must implement their own
Definition at line 119 of file itkSmapsFileParser.h.
typedef std::vector< MapRecord* > itk::MapData::MapRecordVectorType [protected] |
Definition at line 146 of file itkSmapsFileParser.h.
typedef unsigned long itk::MapData::MemoryLoadType |
need an unsigned long type to be able to accumulate the SmapsRecord
Reimplemented in itk::SmapsData_2_6, and itk::VMMapData_10_2.
Definition at line 123 of file itkSmapsFileParser.h.
virtual itk::MapData::~MapData | ( | ) | [virtual] |
bool itk::MapData::Empty | ( | ) |
Returns true if the data has not been initialized yet
virtual MemoryLoadType itk::MapData::GetHeapUsage | ( | ) | [pure virtual] |
Returns the heap usage in kB of the process
Implemented in itk::SmapsData_2_6, and itk::VMMapData_10_2.
virtual MemoryLoadType itk::MapData::GetMemoryUsage | ( | const char * | filter, | |
const char * | token | |||
) | [virtual] |
Returns the memory usage in kB of a process segment
virtual MemoryLoadType itk::MapData::GetStackUsage | ( | ) | [pure virtual] |
Returns the stack usage in kB of the process
Implemented in itk::SmapsData_2_6, and itk::VMMapData_10_2.
virtual MemoryLoadType itk::MapData::GetTotalMemoryUsage | ( | ) | [virtual] |
Returns the total memory usage in kB of the process
void itk::MapData::Reset | ( | void | ) | [protected] |
Clear the content of the container
MapRecordVectorType itk::MapData::m_Records [protected] |
contains all the segment records
Definition at line 149 of file itkSmapsFileParser.h.