![]() |
Orfeo Toolbox
3.16
|
#include <itkSmapsFileParser.h>
Inheritance diagram for itk::MapData:
Collaboration diagram for itk::MapData:Public Types | |
| typedef unsigned long | MemoryLoadType |
Public Member Functions | |
| virtual | ~MapData () |
| bool | Empty () |
| virtual MemoryLoadType | GetHeapUsage ()=0 |
| virtual MemoryLoadType | GetMemoryUsage (const char *filter, const char *token) |
| virtual MemoryLoadType | GetStackUsage ()=0 |
| virtual MemoryLoadType | GetTotalMemoryUsage () |
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.
|
protected |
Definition at line 142 of file itkSmapsFileParser.h.
| typedef unsigned long itk::MapData::MemoryLoadType |
need an unsigned long type to be able to accumulate the SmapsRecord
Definition at line 123 of file itkSmapsFileParser.h.
|
virtual |
— MapData — MadData destructor
Definition at line 327 of file itkSmapsFileParser.cxx.
References Reset().
| bool itk::MapData::Empty | ( | ) |
Returns true if the data has not been initialized yet
is the data empty ?
Definition at line 345 of file itkSmapsFileParser.cxx.
References m_Records.
|
pure virtual |
Returns the heap usage in kB of the process
Implemented in itk::VMMapData_10_2, and itk::SmapsData_2_6.
|
virtual |
Returns the memory usage in kB of a process segment
Definition at line 339 of file itkSmapsFileParser.cxx.
References m_Records.
Referenced by itk::SmapsData_2_6::GetHeapUsage(), itk::VMMapData_10_2::GetHeapUsage(), itk::SmapsData_2_6::GetStackUsage(), and itk::VMMapData_10_2::GetStackUsage().
|
pure virtual |
Returns the stack usage in kB of the process
Implemented in itk::VMMapData_10_2, and itk::SmapsData_2_6.
|
virtual |
Returns the total memory usage in kB of the process
Definition at line 333 of file itkSmapsFileParser.cxx.
References m_Records.
|
protected |
Clear the content of the container
Definition at line 355 of file itkSmapsFileParser.cxx.
References itk::DeleteMapRecord(), and m_Records.
Referenced by itk::operator>>(), and ~MapData().
|
protected |
contains all the segment records
Definition at line 145 of file itkSmapsFileParser.h.
Referenced by Empty(), GetMemoryUsage(), GetTotalMemoryUsage(), itk::operator>>(), and Reset().