\hypertarget{group__Profiling}{}\section{C\+P\+U and Memory Utilization}
\label{group__Profiling}\index{C\+P\+U and Memory Utilization@{C\+P\+U and Memory Utilization}}


Support for measuring C\+P\+U and memory utilization.  


\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classSPL_1_1Timer}{S\+P\+L\+::\+Timer}
\begin{DoxyCompactList}\small\item\em A class for making timing measurements. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{group__Profiling_ga96d5c1802260f6b286b58b0e403560cf}{S\+P\+L\+::get\+Current\+Mem\+Usage} ()
\begin{DoxyCompactList}\small\item\em Get the amount of memory currently being used by the process. \end{DoxyCompactList}\item 
double \hyperlink{group__Profiling_ga50e2fce4e981a87db7c5fc5771966a2d}{S\+P\+L\+::get\+Peak\+Mem\+Usage} ()
\begin{DoxyCompactList}\small\item\em Get the peak memory usage for the process. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Support for measuring C\+P\+U and memory utilization. 



\subsection{Function Documentation}
\hypertarget{group__Profiling_ga96d5c1802260f6b286b58b0e403560cf}{}\index{C\+P\+U and Memory Utilization@{C\+P\+U and Memory Utilization}!get\+Current\+Mem\+Usage@{get\+Current\+Mem\+Usage}}
\index{get\+Current\+Mem\+Usage@{get\+Current\+Mem\+Usage}!C\+P\+U and Memory Utilization@{C\+P\+U and Memory Utilization}}
\subsubsection[{get\+Current\+Mem\+Usage}]{\setlength{\rightskip}{0pt plus 5cm}double S\+P\+L\+::get\+Current\+Mem\+Usage (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{group__Profiling_ga96d5c1802260f6b286b58b0e403560cf}


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. \hypertarget{group__Profiling_ga50e2fce4e981a87db7c5fc5771966a2d}{}\index{C\+P\+U and Memory Utilization@{C\+P\+U and Memory Utilization}!get\+Peak\+Mem\+Usage@{get\+Peak\+Mem\+Usage}}
\index{get\+Peak\+Mem\+Usage@{get\+Peak\+Mem\+Usage}!C\+P\+U and Memory Utilization@{C\+P\+U and Memory Utilization}}
\subsubsection[{get\+Peak\+Mem\+Usage}]{\setlength{\rightskip}{0pt plus 5cm}double S\+P\+L\+::get\+Peak\+Mem\+Usage (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{group__Profiling_ga50e2fce4e981a87db7c5fc5771966a2d}


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. 