| helics 3.6.1

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

  fileName | the name of the file to write the profile to
  append | if 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:

- ProfilerBuffer.hpp
- ProfilerBuffer.cpp