Public Member Functions | Private Attributes | List of all members
TrackCounters Class Reference

#include <helpers.h>

Inheritance diagram for TrackCounters:
Inheritance graph
[legend]

Public Member Functions

virtual void AddLabel (const std::string &label)
 
virtual void AddToLabel (std::ostream &out, benchmark::State &state)
 
virtual void Finish (benchmark::State &state)
 
 TrackCounters ()
 
virtual ~TrackCounters ()
 

Private Attributes

std::vector< std::string > labels_
 
grpc_stats_data stats_begin_
 

Detailed Description

Definition at line 51 of file helpers.h.

Constructor & Destructor Documentation

◆ TrackCounters()

TrackCounters::TrackCounters ( )
inline

Definition at line 53 of file helpers.h.

◆ ~TrackCounters()

virtual TrackCounters::~TrackCounters ( )
inlinevirtual

Definition at line 54 of file helpers.h.

Member Function Documentation

◆ AddLabel()

void TrackCounters::AddLabel ( const std::string &  label)
virtual

Definition at line 57 of file helpers.cc.

◆ AddToLabel()

void TrackCounters::AddToLabel ( std::ostream &  out,
benchmark::State state 
)
virtual

◆ Finish()

void TrackCounters::Finish ( benchmark::State state)
virtual

Reimplemented in IsolatedCallFixture.

Definition at line 44 of file helpers.cc.

Member Data Documentation

◆ labels_

std::vector<std::string> TrackCounters::labels_
private

Definition at line 61 of file helpers.h.

◆ stats_begin_

grpc_stats_data TrackCounters::stats_begin_
private

Definition at line 60 of file helpers.h.


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


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