Signal/Geometry Processing Library (SPL)  1.1.24
CPU and Memory Utilization

Support for measuring CPU and memory utilization. More...

Classes

class  SPL::Timer
 A class for making timing measurements. More...
 

Functions

double SPL::getCurrentMemUsage ()
 Get the amount of memory currently being used by the process. More...
 
double SPL::getPeakMemUsage ()
 Get the peak memory usage for the process. More...
 

Detailed Description

Support for measuring CPU and memory utilization.

Function Documentation

double SPL::getCurrentMemUsage ( )

Get the amount of memory currently being used by the process.

Effects: Query the total amount of memory currently being used by the process.

Returns: The amount of memory (in bytes) currently being used by the process is returned.

double SPL::getPeakMemUsage ( )

Get the peak memory usage for the process.

Effects: Query the peak memory usage for the process.

Returns: The peak memory usage for the process (in bytes) is returned.