Proto
Public Member Functions
Proto::traceInfo Class Reference

Public Member Functions

void addElem (size_t a_currentSize)
 insert function More...
 
void writeFile (std::ofstream &file)
 output function More...
 
size_t size ()
 accessor function More...
 

Member Function Documentation

◆ addElem()

void Proto::traceInfo::addElem ( size_t  a_currentSize)
inline

insert function

insert an element in m_info

Parameters
a_currentSizeis the current memory size usage given with cudaGetMemInfo (device) or rusage (host)

◆ size()

size_t Proto::traceInfo::size ( )
inline

accessor function

Access to the component size

◆ writeFile()

void Proto::traceInfo::writeFile ( std::ofstream &  file)
inline

output function

All information are written in a txt file

Parameters
fileis the txt file where we write the trace

The documentation for this class was generated from the following file: