Classes | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
benchmark::BenchmarkReporter Class Referenceabstract

#include <benchmark.h>

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

Classes

struct  Context
 
struct  PerFamilyRunReports
 
struct  Run
 

Public Member Functions

 BenchmarkReporter ()
 
 BenchmarkReporter ()
 
 BenchmarkReporter ()
 
virtual void Finalize ()
 
virtual void Finalize ()
 
virtual void Finalize ()
 
std::ostream & GetErrorStream () const
 
std::ostream & GetErrorStream () const
 
std::ostream & GetErrorStream () const
 
std::ostream & GetOutputStream () const
 
std::ostream & GetOutputStream () const
 
std::ostream & GetOutputStream () const
 
virtual bool ReportContext (const Context &context)=0
 
virtual bool ReportContext (const Context &context)=0
 
virtual bool ReportContext (const Context &context)=0
 
virtual void ReportRuns (const std::vector< Run > &report)=0
 
virtual void ReportRuns (const std::vector< Run > &report)=0
 
virtual void ReportRuns (const std::vector< Run > &report)=0
 
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 ()
 

Static Public Member Functions

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)
 

Private Attributes

std::ostream * error_stream_
 
std::ostream * output_stream_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ BenchmarkReporter() [1/3]

benchmark::BenchmarkReporter::BenchmarkReporter ( )

Definition at line 34 of file benchmark/src/reporter.cc.

◆ ~BenchmarkReporter() [1/3]

benchmark::BenchmarkReporter::~BenchmarkReporter ( )
virtual

Definition at line 37 of file benchmark/src/reporter.cc.

◆ BenchmarkReporter() [2/3]

benchmark::BenchmarkReporter::BenchmarkReporter ( )

◆ ~BenchmarkReporter() [2/3]

virtual benchmark::BenchmarkReporter::~BenchmarkReporter ( )
virtual

◆ BenchmarkReporter() [3/3]

benchmark::BenchmarkReporter::BenchmarkReporter ( )

◆ ~BenchmarkReporter() [3/3]

virtual benchmark::BenchmarkReporter::~BenchmarkReporter ( )
virtual

Member Function Documentation

◆ Finalize() [1/3]

virtual void benchmark::BenchmarkReporter::Finalize ( )
inlinevirtual

◆ Finalize() [2/3]

virtual void benchmark::BenchmarkReporter::Finalize ( )
inlinevirtual

◆ Finalize() [3/3]

virtual void benchmark::BenchmarkReporter::Finalize ( )
inlinevirtual

◆ GetErrorStream() [1/3]

std::ostream& benchmark::BenchmarkReporter::GetErrorStream ( ) const
inline

◆ GetErrorStream() [2/3]

std::ostream& benchmark::BenchmarkReporter::GetErrorStream ( ) const
inline

◆ GetErrorStream() [3/3]

std::ostream& benchmark::BenchmarkReporter::GetErrorStream ( ) const
inline

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

◆ GetOutputStream() [1/3]

std::ostream& benchmark::BenchmarkReporter::GetOutputStream ( ) const
inline

◆ GetOutputStream() [2/3]

std::ostream& benchmark::BenchmarkReporter::GetOutputStream ( ) const
inline

◆ GetOutputStream() [3/3]

std::ostream& benchmark::BenchmarkReporter::GetOutputStream ( ) const
inline

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

◆ PrintBasicContext() [1/3]

static void benchmark::BenchmarkReporter::PrintBasicContext ( std::ostream *  out,
Context const context 
)
static

◆ PrintBasicContext() [2/3]

static void benchmark::BenchmarkReporter::PrintBasicContext ( std::ostream *  out,
Context const context 
)
static

◆ PrintBasicContext() [3/3]

void benchmark::BenchmarkReporter::PrintBasicContext ( std::ostream *  out,
Context const context 
)
static

Definition at line 39 of file benchmark/src/reporter.cc.

◆ ReportContext() [1/3]

virtual bool benchmark::BenchmarkReporter::ReportContext ( const Context context)
pure virtual

◆ ReportContext() [2/3]

virtual bool benchmark::BenchmarkReporter::ReportContext ( const Context context)
pure virtual

◆ ReportContext() [3/3]

virtual bool benchmark::BenchmarkReporter::ReportContext ( const Context context)
pure virtual

◆ ReportRuns() [1/3]

virtual void benchmark::BenchmarkReporter::ReportRuns ( const std::vector< Run > &  report)
pure virtual

◆ ReportRuns() [2/3]

virtual void benchmark::BenchmarkReporter::ReportRuns ( const std::vector< Run > &  report)
pure virtual

◆ ReportRuns() [3/3]

virtual void benchmark::BenchmarkReporter::ReportRuns ( const std::vector< Run > &  report)
pure virtual

◆ SetErrorStream() [1/3]

void benchmark::BenchmarkReporter::SetErrorStream ( std::ostream *  err)
inline

◆ SetErrorStream() [2/3]

void benchmark::BenchmarkReporter::SetErrorStream ( std::ostream *  err)
inline

◆ SetErrorStream() [3/3]

void benchmark::BenchmarkReporter::SetErrorStream ( std::ostream *  err)
inline

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

◆ SetOutputStream() [1/3]

void benchmark::BenchmarkReporter::SetOutputStream ( std::ostream *  out)
inline

◆ SetOutputStream() [2/3]

void benchmark::BenchmarkReporter::SetOutputStream ( std::ostream *  out)
inline

◆ SetOutputStream() [3/3]

void benchmark::BenchmarkReporter::SetOutputStream ( std::ostream *  out)
inline

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

Member Data Documentation

◆ error_stream_

std::ostream * benchmark::BenchmarkReporter::error_stream_
private

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

◆ output_stream_

std::ostream * benchmark::BenchmarkReporter::output_stream_
private

Definition at line 1565 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