#include <itkSmapsFileParser.h>
Base class for map data containers.
MAP DATA
Inherited classes must implement their own
Definition at line 129 of file itkSmapsFileParser.h.
Inheritance diagram for itk::MapData:
Collaboration diagram for itk::MapData:Public Types | |
| using | MemoryLoadType = SizeValueType |
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 | |
| using | MapRecordVectorType = std::vector<MapRecord *> |
Protected Member Functions | |
| void | Reset () |
Protected Attributes | |
| MapRecordVectorType | m_Records {} |
|
protected |
Definition at line 163 of file itkSmapsFileParser.h.
need a large enough type to be able to accumulate the SmapsRecord
Definition at line 133 of file itkSmapsFileParser.h.
|
virtual |
| bool itk::MapData::Empty | ( | ) |
Returns true if the data has not been initialized yet
|
pure virtual |
Returns the heap usage in kB of the process
Implemented in itk::SmapsData_2_6, and itk::VMMapData_10_2.
|
virtual |
Returns the memory usage in kB of a process segment
|
pure virtual |
Returns the stack usage in kB of the process
Implemented in itk::SmapsData_2_6, and itk::VMMapData_10_2.
|
virtual |
Returns the total memory usage in kB of the process
|
protected |
Clear the content of the container
|
protected |
contains all the segment records
Definition at line 166 of file itkSmapsFileParser.h.