Public Member Functions | Private Member Functions | Private Attributes | List of all members
benchmark::JSONReporter Class Reference

#include <benchmark.h>

Inheritance diagram for benchmark::JSONReporter:
Inheritance graph
[legend]

Public Member Functions

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

Private Member Functions

void PrintRunData (const Run &report)
 
void PrintRunData (const Run &report)
 
void PrintRunData (const Run &report)
 

Private Attributes

bool first_report_
 

Additional Inherited Members

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

Detailed Description

Definition at line 1599 of file benchmark/include/benchmark/benchmark.h.

Constructor & Destructor Documentation

◆ JSONReporter() [1/3]

benchmark::JSONReporter::JSONReporter ( )
inline

Definition at line 1601 of file benchmark/include/benchmark/benchmark.h.

◆ JSONReporter() [2/3]

benchmark::JSONReporter::JSONReporter ( )
inline

◆ JSONReporter() [3/3]

benchmark::JSONReporter::JSONReporter ( )
inline

Member Function Documentation

◆ Finalize() [1/3]

virtual void benchmark::JSONReporter::Finalize ( )
virtual

Reimplemented from benchmark::BenchmarkReporter.

◆ Finalize() [2/3]

virtual void benchmark::JSONReporter::Finalize ( )
virtual

Reimplemented from benchmark::BenchmarkReporter.

◆ Finalize() [3/3]

void benchmark::JSONReporter::Finalize ( )
virtual

Reimplemented from benchmark::BenchmarkReporter.

Definition at line 223 of file benchmark/src/json_reporter.cc.

◆ PrintRunData() [1/3]

void benchmark::JSONReporter::PrintRunData ( const Run report)
private

◆ PrintRunData() [2/3]

void benchmark::JSONReporter::PrintRunData ( const Run report)
private

◆ PrintRunData() [3/3]

void benchmark::JSONReporter::PrintRunData ( const Run report)
private

Definition at line 228 of file benchmark/src/json_reporter.cc.

◆ ReportContext() [1/3]

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

◆ ReportContext() [2/3]

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

◆ ReportContext() [3/3]

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

Implements benchmark::BenchmarkReporter.

Definition at line 120 of file benchmark/src/json_reporter.cc.

◆ ReportRuns() [1/3]

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

◆ ReportRuns() [2/3]

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

◆ ReportRuns() [3/3]

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

Implements benchmark::BenchmarkReporter.

Definition at line 201 of file benchmark/src/json_reporter.cc.

Member Data Documentation

◆ first_report_

bool benchmark::JSONReporter::first_report_
private

Definition at line 1609 of file benchmark/include/benchmark/benchmark.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:57