helics  3.5.2
Public Member Functions | List of all members
helics::ProfilerBuffer Class Reference

Public Member Functions

void addMessage (const std::string &data)
 
void addMessage (std::string &&data)
 
void writeFile ()
 
void setOutputFile (std::string fileName, bool append=false)
 

Member Function Documentation

◆ setOutputFile()

void helics::ProfilerBuffer::setOutputFile ( std::string  fileName,
bool  append = false 
)

specify the output file for writing the profiler information to

the file will be cleared when the output file is set unless the append parameter is specified as true

Parameters
fileNamethe name of the file to write the profile to
appendif set to true the output file will be appended instead of cleared on first use

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