Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
grpc_core::channelz::CallCountingHelper Class Reference

#include <channelz.h>

Classes

struct  AtomicCounterData
 
struct  CounterData
 

Public Member Functions

 CallCountingHelper ()
 
void PopulateCallCounts (Json::Object *json)
 
void RecordCallFailed ()
 
void RecordCallStarted ()
 
void RecordCallSucceeded ()
 

Private Member Functions

void CollectData (CounterData *out)
 

Private Attributes

size_t num_cores_ = 0
 
std::vector< AtomicCounterDataper_cpu_counter_data_storage_
 

Friends

class testing::CallCountingHelperPeer
 

Detailed Description

Definition at line 122 of file channelz.h.

Constructor & Destructor Documentation

◆ CallCountingHelper()

grpc_core::channelz::CallCountingHelper::CallCountingHelper ( )

Definition at line 76 of file src/core/lib/channel/channelz.cc.

Member Function Documentation

◆ CollectData()

void grpc_core::channelz::CallCountingHelper::CollectData ( CounterData out)
private

Definition at line 102 of file src/core/lib/channel/channelz.cc.

◆ PopulateCallCounts()

void grpc_core::channelz::CallCountingHelper::PopulateCallCounts ( Json::Object json)

Definition at line 121 of file src/core/lib/channel/channelz.cc.

◆ RecordCallFailed()

void grpc_core::channelz::CallCountingHelper::RecordCallFailed ( )

Definition at line 92 of file src/core/lib/channel/channelz.cc.

◆ RecordCallStarted()

void grpc_core::channelz::CallCountingHelper::RecordCallStarted ( )

Definition at line 84 of file src/core/lib/channel/channelz.cc.

◆ RecordCallSucceeded()

void grpc_core::channelz::CallCountingHelper::RecordCallSucceeded ( )

Definition at line 97 of file src/core/lib/channel/channelz.cc.

Friends And Related Function Documentation

◆ testing::CallCountingHelperPeer

friend class testing::CallCountingHelperPeer
friend

Definition at line 135 of file channelz.h.

Member Data Documentation

◆ num_cores_

size_t grpc_core::channelz::CallCountingHelper::num_cores_ = 0
private

Definition at line 174 of file channelz.h.

◆ per_cpu_counter_data_storage_

std::vector<AtomicCounterData> grpc_core::channelz::CallCountingHelper::per_cpu_counter_data_storage_
private

Definition at line 173 of file channelz.h.


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


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