benchmark 1.8.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
benchmark::JSONReporter Class Reference
Inheritance diagram for benchmark::JSONReporter:
Inheritance graph
[legend]
Collaboration diagram for benchmark::JSONReporter:
Collaboration graph
[legend]

Public Member Functions

bool ReportContext (const Context &context) BENCHMARK_OVERRIDE
 
void ReportRuns (const std::vector< Run > &reports) BENCHMARK_OVERRIDE
 
void Finalize () BENCHMARK_OVERRIDE
 
- Public Member Functions inherited from benchmark::BenchmarkReporter
virtual bool ReportContext (const Context &context)=0
 
virtual void ReportRunsConfig (double, bool, IterationCount)
 
virtual void ReportRuns (const std::vector< Run > &report)=0
 
virtual void Finalize ()
 
void SetOutputStream (std::ostream *out)
 
void SetErrorStream (std::ostream *err)
 
std::ostream & GetOutputStream () const
 
std::ostream & GetErrorStream () const
 

Additional Inherited Members

- Static Public Member Functions inherited from benchmark::BenchmarkReporter
static void PrintBasicContext (std::ostream *out, Context const &context)
 

Member Function Documentation

◆ Finalize()

void benchmark::JSONReporter::Finalize ( )
virtual

Reimplemented from benchmark::BenchmarkReporter.

◆ ReportContext()

bool benchmark::JSONReporter::ReportContext ( const Context context)
virtual

◆ ReportRuns()

void benchmark::JSONReporter::ReportRuns ( const std::vector< Run > &  reports)
virtual

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