\hypertarget{structnntrainer_1_1profile_1_1ProfileEventData}{}\doxysection{nntrainer\+::profile\+::Profile\+Event\+Data Struct Reference}
\label{structnntrainer_1_1profile_1_1ProfileEventData}\index{nntrainer::profile::ProfileEventData@{nntrainer::profile::ProfileEventData}}


Data for each profile event.  




{\ttfamily \#include $<$profiler.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structnntrainer_1_1profile_1_1ProfileEventData_a607d669bbf579488655851bda03483e4}{Profile\+Event\+Data}} (int item, size\+\_\+t cur, size\+\_\+t total, std\+::string str, std\+::chrono\+::microseconds dur)
\begin{DoxyCompactList}\small\item\em Construct a new \mbox{\hyperlink{structnntrainer_1_1profile_1_1ProfileEventData}{Profile\+Event\+Data}} struct. \end{DoxyCompactList}\item 
\mbox{\hyperlink{structnntrainer_1_1profile_1_1ProfileEventData_a47aa8798d2aaadf3525e98cf3c147481}{Profile\+Event\+Data}} (int item, size\+\_\+t cur, size\+\_\+t total, std\+::string str, std\+::chrono\+::microseconds dur, std\+::string policy, bool swap)
\begin{DoxyCompactList}\small\item\em Construct a new \mbox{\hyperlink{structnntrainer_1_1profile_1_1ProfileEventData}{Profile\+Event\+Data}} struct. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structnntrainer_1_1profile_1_1ProfileEventData_aacee35daa19f8b255bfb2d4b5be4c2ae}\label{structnntrainer_1_1profile_1_1ProfileEventData_aacee35daa19f8b255bfb2d4b5be4c2ae}} 
int {\bfseries time\+\_\+item}
\item 
\mbox{\Hypertarget{structnntrainer_1_1profile_1_1ProfileEventData_abe292ce348621b6a61120b66490c7209}\label{structnntrainer_1_1profile_1_1ProfileEventData_abe292ce348621b6a61120b66490c7209}} 
size\+\_\+t {\bfseries alloc\+\_\+current}
\item 
\mbox{\Hypertarget{structnntrainer_1_1profile_1_1ProfileEventData_a7f322af0f928e56c99229ce400f1d742}\label{structnntrainer_1_1profile_1_1ProfileEventData_a7f322af0f928e56c99229ce400f1d742}} 
size\+\_\+t {\bfseries alloc\+\_\+total}
\item 
\mbox{\Hypertarget{structnntrainer_1_1profile_1_1ProfileEventData_ac9c7d6f91bf37df5f1e75e3ef867a0ce}\label{structnntrainer_1_1profile_1_1ProfileEventData_ac9c7d6f91bf37df5f1e75e3ef867a0ce}} 
std\+::string {\bfseries cache\+\_\+policy}
\item 
\mbox{\Hypertarget{structnntrainer_1_1profile_1_1ProfileEventData_a73401ff45e67c4fbef21ff12598557df}\label{structnntrainer_1_1profile_1_1ProfileEventData_a73401ff45e67c4fbef21ff12598557df}} 
bool {\bfseries cache\+\_\+swap}
\item 
\mbox{\Hypertarget{structnntrainer_1_1profile_1_1ProfileEventData_a9b49e795b068e062d67d17a794abd7e7}\label{structnntrainer_1_1profile_1_1ProfileEventData_a9b49e795b068e062d67d17a794abd7e7}} 
std\+::string {\bfseries event\+\_\+str}
\item 
\mbox{\Hypertarget{structnntrainer_1_1profile_1_1ProfileEventData_a59b6123b05ac498ca3d3c3aaff15d834}\label{structnntrainer_1_1profile_1_1ProfileEventData_a59b6123b05ac498ca3d3c3aaff15d834}} 
std\+::chrono\+::microseconds {\bfseries duration}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Data for each profile event. 



Definition at line 99 of file profiler.\+h.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{structnntrainer_1_1profile_1_1ProfileEventData_a607d669bbf579488655851bda03483e4}\label{structnntrainer_1_1profile_1_1ProfileEventData_a607d669bbf579488655851bda03483e4}} 
\index{nntrainer::profile::ProfileEventData@{nntrainer::profile::ProfileEventData}!ProfileEventData@{ProfileEventData}}
\index{ProfileEventData@{ProfileEventData}!nntrainer::profile::ProfileEventData@{nntrainer::profile::ProfileEventData}}
\doxysubsubsection{\texorpdfstring{ProfileEventData()}{ProfileEventData()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily nntrainer\+::profile\+::\+Profile\+Event\+Data\+::\+Profile\+Event\+Data (\begin{DoxyParamCaption}\item[{int}]{item,  }\item[{size\+\_\+t}]{cur,  }\item[{size\+\_\+t}]{total,  }\item[{std\+::string}]{str,  }\item[{std\+::chrono\+::microseconds}]{dur }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Construct a new \mbox{\hyperlink{structnntrainer_1_1profile_1_1ProfileEventData}{Profile\+Event\+Data}} struct. 



Definition at line 105 of file profiler.\+h.

\mbox{\Hypertarget{structnntrainer_1_1profile_1_1ProfileEventData_a47aa8798d2aaadf3525e98cf3c147481}\label{structnntrainer_1_1profile_1_1ProfileEventData_a47aa8798d2aaadf3525e98cf3c147481}} 
\index{nntrainer::profile::ProfileEventData@{nntrainer::profile::ProfileEventData}!ProfileEventData@{ProfileEventData}}
\index{ProfileEventData@{ProfileEventData}!nntrainer::profile::ProfileEventData@{nntrainer::profile::ProfileEventData}}
\doxysubsubsection{\texorpdfstring{ProfileEventData()}{ProfileEventData()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily nntrainer\+::profile\+::\+Profile\+Event\+Data\+::\+Profile\+Event\+Data (\begin{DoxyParamCaption}\item[{int}]{item,  }\item[{size\+\_\+t}]{cur,  }\item[{size\+\_\+t}]{total,  }\item[{std\+::string}]{str,  }\item[{std\+::chrono\+::microseconds}]{dur,  }\item[{std\+::string}]{policy,  }\item[{bool}]{swap }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Construct a new \mbox{\hyperlink{structnntrainer_1_1profile_1_1ProfileEventData}{Profile\+Event\+Data}} struct. 



Definition at line 118 of file profiler.\+h.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
utils/\mbox{\hyperlink{profiler_8h}{profiler.\+h}}\end{DoxyCompactItemize}
