ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkSmapsFileParser.h>
TODO.
FIXME: Add documentation
Definition at line 222 of file itkSmapsFileParser.h.
Public Types | |
typedef TMapData::MemoryLoadType | MemoryLoadType |
Public Member Functions | |
MemoryLoadType | GetHeapUsage () |
MemoryLoadType | GetMemoryUsage (const char *filter, const char *token="Size") |
MemoryLoadType | GetStackUsage () |
MemoryLoadType | GetTotalMemoryUsage () |
virtual void | ReadFile (const std::string &mapFileLocation="")=0 |
bool | Update (void) |
virtual | ~MapFileParser () |
Protected Attributes | |
TMapData | m_MapData |
std::string | m_MapFilePath |
typedef TMapData::MemoryLoadType itk::MapFileParser< TMapData >::MemoryLoadType |
Definition at line 225 of file itkSmapsFileParser.h.
|
virtual |
MemoryLoadType itk::MapFileParser< TMapData >::GetHeapUsage | ( | ) |
Returns the heap usage in kB of the process. If no file has been loaded yet, load a default file.
MemoryLoadType itk::MapFileParser< TMapData >::GetMemoryUsage | ( | const char * | filter, |
const char * | token = "Size" |
||
) |
Returns the memory usage in kB of a process segment. If no file has been loaded yet, load a default file.
MemoryLoadType itk::MapFileParser< TMapData >::GetStackUsage | ( | ) |
Returns the heap usage in kB of the process. If no file has been loaded yet, load a default file.
MemoryLoadType itk::MapFileParser< TMapData >::GetTotalMemoryUsage | ( | ) |
Returns the total memory usage in kB of a process. If no file has been loaded yet, load a default file.
|
pure virtual |
Load and parse a Map file pointed by mapFileLocation. If mapFileLocation is empty, load the default file Throw an exception is the file can't be opened.
Implemented in itk::VMMapFileParser< TVMMapDataType >, and itk::SmapsFileParser< TSmapsDataType >.
bool itk::MapFileParser< TMapData >::Update | ( | void | ) |
ReRead the last parsed file to refresh the memory usage. Returns true if read from the default location "".
|
protected |
Definition at line 261 of file itkSmapsFileParser.h.
|
protected |
Definition at line 260 of file itkSmapsFileParser.h.