#include <itkSmapsFileParser.h>
Read a smaps stream and return the memory usage information. Smaps files have been added since the linux kernel 2.6.
Definition at line 174 of file itkSmapsFileParser.h.
Inheritance diagram for itk::SmapsData_2_6:
Collaboration diagram for itk::SmapsData_2_6:Public Types | |
| using | MemoryLoadType = MapData::MemoryLoadType |
Public Types inherited from itk::MapData | |
| using | MemoryLoadType = SizeValueType |
Public Member Functions | |
| MemoryLoadType | GetHeapUsage () override |
| MemoryLoadType | GetStackUsage () override |
| ~SmapsData_2_6 () override | |
Public Member Functions inherited from itk::MapData | |
| bool | Empty () |
| virtual MemoryLoadType | GetMemoryUsage (const char *filter, const char *token) |
| virtual MemoryLoadType | GetTotalMemoryUsage () |
| virtual | ~MapData () |
Protected Attributes | |
| bool | m_HeapRecordFound {} |
Protected Attributes inherited from itk::MapData | |
| MapRecordVectorType | m_Records {} |
Friends | |
| ITKCommon_EXPORT std::istream & | operator>> (std::istream &smapsStream, SmapsData_2_6 &data) |
Additional Inherited Members | |
Protected Types inherited from itk::MapData | |
| using | MapRecordVectorType = std::vector<MapRecord *> |
Protected Member Functions inherited from itk::MapData | |
| void | Reset () |
Definition at line 177 of file itkSmapsFileParser.h.
|
override |
|
overridevirtual |
Returns the heap usage in kB of the process
Implements itk::MapData.
|
overridevirtual |
Returns the stack usage in kB of the process
Implements itk::MapData.
|
friend |
fill the smaps data
|
protected |
Definition at line 194 of file itkSmapsFileParser.h.