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... | |
Support for measuring CPU and memory utilization.
| 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.