Classes | Functions | Variables
bm_opencensus_plugin.cc File Reference
#include <string>
#include <thread>
#include <benchmark/benchmark.h>
#include "absl/base/call_once.h"
#include "absl/strings/str_cat.h"
#include "opencensus/stats/stats.h"
#include <grpc/grpc.h>
#include <grpcpp/grpcpp.h>
#include <grpcpp/opencensus.h>
#include "src/core/lib/config/core_configuration.h"
#include "src/cpp/ext/filters/census/grpc_plugin.h"
#include "src/proto/grpc/testing/echo.grpc.pb.h"
#include "test/core/util/test_config.h"
#include "test/cpp/microbenchmarks/helpers.h"
Include dependency graph for bm_opencensus_plugin.cc:

Go to the source code of this file.

Classes

class  EchoServer
 
class  EchoServerThread
 

Functions

 BENCHMARK (BM_E2eLatencyCensusDisabled)
 
 BENCHMARK (BM_E2eLatencyCensusEnabled)
 
static void BM_E2eLatencyCensusDisabled (benchmark::State &state)
 
static void BM_E2eLatencyCensusEnabled (benchmark::State &state)
 
int main (int argc, char **argv)
 
void RegisterOnce ()
 

Variables

absl::once_flag once
 

Function Documentation

◆ BENCHMARK() [1/2]

BENCHMARK ( BM_E2eLatencyCensusDisabled  )

◆ BENCHMARK() [2/2]

BENCHMARK ( BM_E2eLatencyCensusEnabled  )

◆ BM_E2eLatencyCensusDisabled()

static void BM_E2eLatencyCensusDisabled ( benchmark::State state)
static

Definition at line 90 of file bm_opencensus_plugin.cc.

◆ BM_E2eLatencyCensusEnabled()

static void BM_E2eLatencyCensusEnabled ( benchmark::State state)
static

Definition at line 107 of file bm_opencensus_plugin.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 130 of file bm_opencensus_plugin.cc.

◆ RegisterOnce()

void RegisterOnce ( )

Definition at line 39 of file bm_opencensus_plugin.cc.

Variable Documentation

◆ once

Definition at line 38 of file bm_opencensus_plugin.cc.



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