Celero
Classes | Public Member Functions | Static Public Member Functions | List of all members
celero::ResultTable Class Reference

#include <ResultTable.h>

Classes

class  Impl
 

Public Member Functions

void setFileName (const std::string &x)
 Specify a file name for a results output file. More...
 
void closeFile ()
 Force the output file (if any) to close.
 
void add (std::shared_ptr< celero::ExperimentResult > x)
 Add a new result to the result table. More...
 
void save ()
 

Static Public Member Functions

static ResultTableInstance ()
 Singleton.
 

Detailed Description

Author
John Farrier

Member Function Documentation

◆ add()

void ResultTable::add ( std::shared_ptr< celero::ExperimentResult x)

Add a new result to the result table.

This should re-save on every new result so that the output can be monitored externally.

◆ setFileName()

void ResultTable::setFileName ( const std::string &  x)

Specify a file name for a results output file.

Parameters
xThe name of the output file in which to store Celero's results.

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