Public Member Functions | Private Member Functions | List of all members
grpc::testing::GprLogReporter Class Reference

#include <report.h>

Inheritance diagram for grpc::testing::GprLogReporter:
Inheritance graph
[legend]

Public Member Functions

 GprLogReporter (const string &name)
 
- Public Member Functions inherited from grpc::testing::Reporter
string name () const
 
 Reporter (const string &name)
 
virtual ~Reporter ()
 

Private Member Functions

void ReportCoreStats (const char *name, int idx, const grpc::core::Stats &stats)
 
void ReportCpuUsage (const ScenarioResult &result) override
 
void ReportLatency (const ScenarioResult &result) override
 
void ReportPollCount (const ScenarioResult &result) override
 
void ReportQPS (const ScenarioResult &result) override
 
void ReportQPSPerCore (const ScenarioResult &result) override
 
void ReportQueriesPerCpuSec (const ScenarioResult &result) override
 
void ReportTimes (const ScenarioResult &result) override
 

Detailed Description

Reporter to gpr_log(GPR_INFO).

Definition at line 94 of file report.h.

Constructor & Destructor Documentation

◆ GprLogReporter()

grpc::testing::GprLogReporter::GprLogReporter ( const string &  name)
inlineexplicit

Definition at line 96 of file report.h.

Member Function Documentation

◆ ReportCoreStats()

void grpc::testing::GprLogReporter::ReportCoreStats ( const char *  name,
int  idx,
const grpc::core::Stats &  stats 
)
private

Definition at line 101 of file report.cc.

◆ ReportCpuUsage()

void grpc::testing::GprLogReporter::ReportCpuUsage ( const ScenarioResult &  result)
overrideprivatevirtual

Reports server cpu usage.

Implements grpc::testing::Reporter.

Definition at line 147 of file report.cc.

◆ ReportLatency()

void grpc::testing::GprLogReporter::ReportLatency ( const ScenarioResult &  result)
overrideprivatevirtual

Reports latencies for the 50, 90, 95, 99 and 99.9 percentiles, in ms.

Implements grpc::testing::Reporter.

Definition at line 126 of file report.cc.

◆ ReportPollCount()

void grpc::testing::GprLogReporter::ReportPollCount ( const ScenarioResult &  result)
overrideprivatevirtual

Reports client and server poll usage inside completion queue.

Implements grpc::testing::Reporter.

Definition at line 152 of file report.cc.

◆ ReportQPS()

void grpc::testing::GprLogReporter::ReportQPS ( const ScenarioResult &  result)
overrideprivatevirtual

Reports QPS for the given result.

Implements grpc::testing::Reporter.

Definition at line 81 of file report.cc.

◆ ReportQPSPerCore()

void grpc::testing::GprLogReporter::ReportQPSPerCore ( const ScenarioResult &  result)
overrideprivatevirtual

Reports QPS per core as (YYY/server core).

Implements grpc::testing::Reporter.

Definition at line 121 of file report.cc.

◆ ReportQueriesPerCpuSec()

void grpc::testing::GprLogReporter::ReportQueriesPerCpuSec ( const ScenarioResult &  result)
overrideprivatevirtual

Reports queries per cpu-sec.

Implements grpc::testing::Reporter.

Definition at line 159 of file report.cc.

◆ ReportTimes()

void grpc::testing::GprLogReporter::ReportTimes ( const ScenarioResult &  result)
overrideprivatevirtual

Reports system and user time for client and server systems.

Implements grpc::testing::Reporter.

Definition at line 136 of file report.cc.


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


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