#include <itkSmapsFileParser.h>
Public Types | |
typedef unsigned int | MemoryLoadType |
Public Member Functions | |
void | Reset (void) |
Public Attributes | |
std::string | m_RecordName |
std::map< std::string, MemoryLoadType > | m_Tokens |
Friends | |
ITKCommon_EXPORT std::istream & | operator>> (std::istream &in, SmapsRecord &record) |
Definition at line 63 of file itkSmapsFileParser.h.
typedef unsigned int itk::MapRecord::MemoryLoadType [inherited] |
Definition at line 41 of file itkSmapsFileParser.h.
void itk::MapRecord::Reset | ( | void | ) | [inherited] |
Reset the record
ITKCommon_EXPORT std::istream& operator>> | ( | std::istream & | in, | |
SmapsRecord & | record | |||
) | [friend] |
Input operator to fill a SmapsRecord The format has to be the following: "address permissions offset device inode optional_name Token1: number kB Token2: number kB ... TokenN: number kB" Example: 00101000-0023b000 r-xp 00000000 fd:00 165671 /lib/libc-2.5.so Size: 1256 kB Rss: 640 kB Shared_Clean: 640 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 0 kB
std::string itk::MapRecord::m_RecordName [inherited] |
Optional record name
Definition at line 49 of file itkSmapsFileParser.h.
std::map<std::string, MemoryLoadType> itk::MapRecord::m_Tokens [inherited] |
Contains a list of token with the associated memory allocated, tokens could be typically: Size, Rss, Shared_Clean, Shared_Dirty, Private_Clean, Private_Dirty, Referenced.
Definition at line 55 of file itkSmapsFileParser.h.