Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::VMMapData_10_2< TMapRecord > Class Template Reference

#include <itkSmapsFileParser.h>

Inheritance diagram for itk::VMMapData_10_2< TMapRecord >:

Inheritance graph
[legend]
Collaboration diagram for itk::VMMapData_10_2< TMapRecord >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class TMapRecord>
class itk::VMMapData_10_2< TMapRecord >

Apparently the vmmap command exists since at least Mac OS X v10.2 On Tiger, /usr/bin/vmmap used to be installed by the Essentials.pkg, On Panther, /usr/bin/vmmap used to be installed by the DevTools.pkg,

Definition at line 189 of file itkSmapsFileParser.h.

Public Types

typedef MapData< TMapRecord
>::MemoryLoadType 
MemoryLoadType

Public Member Functions

bool Empty ()
virtual MemoryLoadType GetHeapUsage ()
virtual MemoryLoadType GetMemoryUsage (const char *filter, const char *token)
virtual MemoryLoadType GetStackUsage ()
virtual MemoryLoadType GetTotalMemoryUsage ()
virtual ~VMMapData_10_2 ()

Protected Types

typedef TMapRecord MapRecordType
typedef std::vector< MapRecordTypeMapRecordVectorType

Protected Member Functions

void Reset (void)

Protected Attributes

MapRecordVectorType m_Records

Friends

template<class TVMMapRecordType>
ITK_EXPORT std::istream & operator>> (std::istream &stream, VMMapData_10_2< TVMMapRecordType > &data)


Member Typedef Documentation

template<class TMapRecord>
typedef TMapRecord itk::MapData< TMapRecord >::MapRecordType [protected, inherited]

Definition at line 141 of file itkSmapsFileParser.h.

template<class TMapRecord>
typedef std::vector< MapRecordType > itk::MapData< TMapRecord >::MapRecordVectorType [protected, inherited]

Definition at line 142 of file itkSmapsFileParser.h.

template<class TMapRecord>
typedef MapData<TMapRecord>::MemoryLoadType itk::VMMapData_10_2< TMapRecord >::MemoryLoadType

need an unsigned long type to be able to accumulate the SmapsRecord

Reimplemented from itk::MapData< TMapRecord >.

Definition at line 192 of file itkSmapsFileParser.h.


Constructor & Destructor Documentation

template<class TMapRecord>
virtual itk::VMMapData_10_2< TMapRecord >::~VMMapData_10_2 (  )  [virtual]


Member Function Documentation

template<class TMapRecord>
bool itk::MapData< TMapRecord >::Empty (  )  [inherited]

Returns true if the data has not been initialized yet

template<class TMapRecord>
virtual MemoryLoadType itk::VMMapData_10_2< TMapRecord >::GetHeapUsage (  )  [virtual]

Returns the heap usage in kB of the process

Implements itk::MapData< TMapRecord >.

template<class TMapRecord>
virtual MemoryLoadType itk::VMMapData_10_2< TMapRecord >::GetMemoryUsage ( const char *  filter,
const char *  token 
) [virtual]

Returns the memory usage in kB of a process segment

Implements itk::MapData< TMapRecord >.

template<class TMapRecord>
virtual MemoryLoadType itk::VMMapData_10_2< TMapRecord >::GetStackUsage (  )  [virtual]

Returns the stack usage in kB of the process

Implements itk::MapData< TMapRecord >.

template<class TMapRecord>
virtual MemoryLoadType itk::VMMapData_10_2< TMapRecord >::GetTotalMemoryUsage (  )  [virtual]

Returns the total memory usage in kB of the process

Implements itk::MapData< TMapRecord >.

template<class TMapRecord>
void itk::MapData< TMapRecord >::Reset ( void   )  [protected, inherited]

Clear the content of the container


Friends And Related Function Documentation

template<class TMapRecord>
template<class TVMMapRecordType>
ITK_EXPORT std::istream& operator>> ( std::istream &  stream,
VMMapData_10_2< TVMMapRecordType > &  data 
) [friend]

fill the smaps data


Member Data Documentation

template<class TMapRecord>
MapRecordVectorType itk::MapData< TMapRecord >::m_Records [protected, inherited]

contains all the segment records

Definition at line 145 of file itkSmapsFileParser.h.


The documentation for this class was generated from the following file:
Generated at Tue Apr 15 00:30:03 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000