![]() |
Orfeo Toolbox
3.16
|
Read a smaps stream and return the memory usage information. Smaps files have been added since the linux kernel 2.6. More...
#include <itkSmapsFileParser.h>
Inheritance diagram for itk::SmapsData_2_6:
Collaboration diagram for itk::SmapsData_2_6:Public Types | |
| typedef MapData::MemoryLoadType | MemoryLoadType |
Public Member Functions | |
| virtual | ~SmapsData_2_6 () |
| bool | Empty () |
| virtual MemoryLoadType | GetHeapUsage () |
| virtual MemoryLoadType | GetMemoryUsage (const char *filter, const char *token) |
| virtual MemoryLoadType | GetStackUsage () |
| virtual MemoryLoadType | GetTotalMemoryUsage () |
Protected Types | |
| typedef std::vector< MapRecord * > | MapRecordVectorType |
Protected Member Functions | |
| void | Reset (void) |
Protected Attributes | |
| bool | m_HeapRecordFound |
| MapRecordVectorType | m_Records |
Friends | |
| ITKCommon_EXPORT std::istream & | operator>> (std::istream &smapsStream, SmapsData_2_6 &data) |
Read a smaps stream and return the memory usage information. Smaps files have been added since the linux kernel 2.6.
Definition at line 152 of file itkSmapsFileParser.h.
|
protectedinherited |
Definition at line 142 of file itkSmapsFileParser.h.
Definition at line 155 of file itkSmapsFileParser.h.
|
virtual |
— SmapsData —
Definition at line 363 of file itkSmapsFileParser.cxx.
|
inherited |
Returns true if the data has not been initialized yet
is the data empty ?
Definition at line 345 of file itkSmapsFileParser.cxx.
References itk::MapData::m_Records.
|
virtual |
Returns the heap usage in kB of the process
Implements itk::MapData.
Definition at line 394 of file itkSmapsFileParser.cxx.
References itk::MapData::GetMemoryUsage().
|
virtualinherited |
Returns the memory usage in kB of a process segment
Definition at line 339 of file itkSmapsFileParser.cxx.
References itk::MapData::m_Records.
Referenced by GetHeapUsage(), itk::VMMapData_10_2::GetHeapUsage(), GetStackUsage(), and itk::VMMapData_10_2::GetStackUsage().
|
virtual |
Returns the stack usage in kB of the process
Implements itk::MapData.
Definition at line 407 of file itkSmapsFileParser.cxx.
References itk::MapData::GetMemoryUsage().
|
virtualinherited |
Returns the total memory usage in kB of the process
Definition at line 333 of file itkSmapsFileParser.cxx.
References itk::MapData::m_Records.
|
protectedinherited |
Clear the content of the container
Definition at line 355 of file itkSmapsFileParser.cxx.
References itk::DeleteMapRecord(), and itk::MapData::m_Records.
Referenced by itk::operator>>(), and itk::MapData::~MapData().
|
friend |
fill the smaps data
Definition at line 367 of file itkSmapsFileParser.cxx.
|
protected |
Definition at line 169 of file itkSmapsFileParser.h.
|
protectedinherited |
contains all the segment records
Definition at line 145 of file itkSmapsFileParser.h.
Referenced by itk::MapData::Empty(), itk::MapData::GetMemoryUsage(), itk::MapData::GetTotalMemoryUsage(), itk::operator>>(), and itk::MapData::Reset().