ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Attributes | Friends
itk::SmapsData_2_6 Class Reference

#include <itkSmapsFileParser.h>

+ Inheritance diagram for itk::SmapsData_2_6:
+ Collaboration diagram for itk::SmapsData_2_6:

List of all members.

Public Types

typedef MapData::MemoryLoadType MemoryLoadType

Public Member Functions

virtual MemoryLoadType GetHeapUsage ()
virtual MemoryLoadType GetStackUsage ()
virtual ~SmapsData_2_6 ()

Protected Attributes

bool m_HeapRecordFound

Friends

ITKCommon_EXPORT std::istream & operator>> (std::istream &smapsStream, SmapsData_2_6 &data)

Detailed Description

Read a smaps stream and return the memory usage information. Smaps files have been added since the linux kernel 2.6.

Definition at line 164 of file itkSmapsFileParser.h.


Member Typedef Documentation

need a large enough type to be able to accumulate the SmapsRecord

Reimplemented from itk::MapData.

Definition at line 167 of file itkSmapsFileParser.h.


Constructor & Destructor Documentation

virtual itk::SmapsData_2_6::~SmapsData_2_6 ( ) [virtual]

Member Function Documentation

Returns the heap usage in kB of the process

Implements itk::MapData.

Returns the stack usage in kB of the process

Implements itk::MapData.


Friends And Related Function Documentation

ITKCommon_EXPORT std::istream& operator>> ( std::istream &  smapsStream,
SmapsData_2_6 data 
) [friend]

fill the smaps data


Member Data Documentation

Definition at line 182 of file itkSmapsFileParser.h.


The documentation for this class was generated from the following file: