#include <itkSmapsFileParser.h>
Public Types | |
typedef MapData::MemoryLoadType | MemoryLoadType |
Public Member Functions | |
bool | Empty () |
virtual MemoryLoadType | GetHeapUsage () |
virtual MemoryLoadType | GetMemoryUsage (const char *filter, const char *token) |
virtual MemoryLoadType | GetStackUsage () |
virtual MemoryLoadType | GetTotalMemoryUsage () |
VMMapData_10_2 () | |
virtual | ~VMMapData_10_2 () |
Protected Types | |
typedef std::vector< MapRecord * > | MapRecordVectorType |
Protected Member Functions | |
void | Reset (void) |
Protected Attributes | |
MapRecordVectorType | m_Records |
bool | m_UsingSummary |
Friends | |
ITKCommon_EXPORT std::istream & | operator>> (std::istream &stream, VMMapData_10_2 &data) |
Apparently the vmmap command exists since at least Mac OS X v10.2 On Tiger, /usr/bin/vmmap used to be installed by the Essentials.pkg, On Panther, /usr/bin/vmmap used to be installed by the DevTools.pkg,
Definition at line 182 of file itkSmapsFileParser.h.
typedef std::vector< MapRecord* > itk::MapData::MapRecordVectorType [protected, inherited] |
Definition at line 146 of file itkSmapsFileParser.h.
need an unsigned long type to be able to accumulate the SmapsRecord
Reimplemented from itk::MapData.
Definition at line 185 of file itkSmapsFileParser.h.
itk::VMMapData_10_2::VMMapData_10_2 | ( | ) |
virtual itk::VMMapData_10_2::~VMMapData_10_2 | ( | ) | [virtual] |
bool itk::MapData::Empty | ( | ) | [inherited] |
Returns true if the data has not been initialized yet
virtual MemoryLoadType itk::VMMapData_10_2::GetHeapUsage | ( | ) | [virtual] |
Returns the heap usage in kB of the process
Implements itk::MapData.
virtual MemoryLoadType itk::MapData::GetMemoryUsage | ( | const char * | filter, | |
const char * | token | |||
) | [virtual, inherited] |
Returns the memory usage in kB of a process segment
virtual MemoryLoadType itk::VMMapData_10_2::GetStackUsage | ( | ) | [virtual] |
Returns the stack usage in kB of the process
Implements itk::MapData.
virtual MemoryLoadType itk::MapData::GetTotalMemoryUsage | ( | ) | [virtual, inherited] |
Returns the total memory usage in kB of the process
void itk::MapData::Reset | ( | void | ) | [protected, inherited] |
Clear the content of the container
ITKCommon_EXPORT std::istream& operator>> | ( | std::istream & | stream, | |
VMMapData_10_2 & | data | |||
) | [friend] |
fill the smaps data
MapRecordVectorType itk::MapData::m_Records [protected, inherited] |
contains all the segment records
Definition at line 149 of file itkSmapsFileParser.h.
bool itk::VMMapData_10_2::m_UsingSummary [protected] |
Definition at line 199 of file itkSmapsFileParser.h.