![]() |
Orfeo Toolbox
3.16
|
Read the output of a vmmap command and extract the memory usage information. Used for MAC OS X machines. More...
#include <itkSmapsFileParser.h>
Inheritance diagram for itk::VMMapFileParser< TVMMapDataType >:
Collaboration diagram for itk::VMMapFileParser< TVMMapDataType >:Public Types | |
| typedef TVMMapDataType::MemoryLoadType | MemoryLoadType |
Public Member Functions | |
| virtual | ~VMMapFileParser () |
| MemoryLoadType | GetHeapUsage () |
| MemoryLoadType | GetMemoryUsage (const char *filter, const char *token="Size") |
| MemoryLoadType | GetStackUsage () |
| MemoryLoadType | GetTotalMemoryUsage () |
| virtual void | ReadFile (const std::string &mapFileLocation="") |
| bool | Update (void) |
Protected Attributes | |
| TVMMapDataType | m_MapData |
| std::string | m_MapFilePath |
Read the output of a vmmap command and extract the memory usage information. Used for MAC OS X machines.
Definition at line 265 of file itkSmapsFileParser.h.
|
inherited |
Definition at line 206 of file itkSmapsFileParser.h.
|
virtual |
Definition at line 157 of file itkSmapsFileParser.txx.
|
inherited |
Returns the heap usage in kB of the process. If no file has been loaded yet, load a default file.
|
inherited |
Returns the memory usage in kB of a process segment. If no file has been loaded yet, load a default file.
|
inherited |
Returns the heap usage in kB of the process. If no file has been loaded yet, load a default file.
|
inherited |
Returns the total memory usage in kB of a process. If no file has been loaded yet, load a default file.
|
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 >.
Definition at line 163 of file itkSmapsFileParser.txx.
References NULL.
|
inherited |
ReRead the last parsed file to refresh the memory usage. Returns true if read from the default location "".
|
protectedinherited |
Definition at line 238 of file itkSmapsFileParser.h.
|
protectedinherited |
Definition at line 237 of file itkSmapsFileParser.h.