ITK  5.2.0
Insight Toolkit
Public Member Functions | List of all members
itk::VMMapFileParser< TVMMapDataType > Class Template Reference

#include <itkSmapsFileParser.h>

+ Inheritance diagram for itk::VMMapFileParser< TVMMapDataType >:
+ Collaboration diagram for itk::VMMapFileParser< TVMMapDataType >:

Public Member Functions

virtual void ReadFile (const std::string &mapFileLocation="")
 
virtual ~VMMapFileParser ()=default
 
- Public Member Functions inherited from itk::MapFileParser< TVMMapDataType >
MemoryLoadType GetHeapUsage ()
 
MemoryLoadType GetMemoryUsage (const char *filter, const char *token="Size")
 
MemoryLoadType GetStackUsage ()
 
MemoryLoadType GetTotalMemoryUsage ()
 
bool Update ()
 
virtual ~MapFileParser ()=default
 

Additional Inherited Members

- Public Types inherited from itk::MapFileParser< TVMMapDataType >
using MemoryLoadType = typename TVMMapDataType ::MemoryLoadType
 
- Protected Attributes inherited from itk::MapFileParser< TVMMapDataType >
TVMMapDataType m_MapData
 
std::string m_MapFilePath
 

Detailed Description

template<typename TVMMapDataType>
class itk::VMMapFileParser< TVMMapDataType >

Read the output of a vmmap command and extract the memory usage information. Used for MAC OS X machines.

Definition at line 310 of file itkSmapsFileParser.h.

Constructor & Destructor Documentation

◆ ~VMMapFileParser()

template<typename TVMMapDataType >
virtual itk::VMMapFileParser< TVMMapDataType >::~VMMapFileParser ( )
virtualdefault

Member Function Documentation

◆ ReadFile()

template<typename TVMMapDataType >
virtual void itk::VMMapFileParser< TVMMapDataType >::ReadFile ( const std::string &  mapFileLocation = "")
virtual

If no vmmap file, create one using "vmmap pid" command Throw an exception is the file can't be created/opened.

Implements itk::MapFileParser< TVMMapDataType >.


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