Namespaces | Functions
benchmark_config.cc File Reference
#include "test/cpp/qps/benchmark_config.h"
#include "absl/flags/flag.h"
#include <grpc/support/log.h>
#include <grpcpp/create_channel.h>
#include <grpcpp/security/credentials.h>
#include "test/cpp/util/test_credentials_provider.h"
Include dependency graph for benchmark_config.cc:

Go to the source code of this file.

Namespaces

 grpc
 
 grpc::testing
 

Functions

 ABSL_FLAG (bool, enable_log_reporter, true, "Enable reporting of benchmark results through GprLog")
 
 ABSL_FLAG (bool, enable_rpc_reporter, false, "Enable use of RPC reporter")
 
 ABSL_FLAG (std::string, hashed_id, "", "Hash of the user id")
 
 ABSL_FLAG (std::string, rpc_reporter_credential_type, grpc::testing::kInsecureCredentialsType, "Credential type for communication to the QPS benchmark report server")
 
 ABSL_FLAG (std::string, rpc_reporter_server_address, "", "Server address for rpc reporter to send results to")
 
 ABSL_FLAG (std::string, scenario_result_file, "", "Write JSON benchmark report to the file specified.")
 
 ABSL_FLAG (std::string, server_address, "localhost:50052", "Address of the performance database server")
 
 ABSL_FLAG (std::string, sys_info, "", "System information")
 
 ABSL_FLAG (std::string, tag, "", "Optional tag for the test")
 
 ABSL_FLAG (std::string, test_name, "", "Name of the test being executed")
 
std::shared_ptr< Reporter > grpc::testing::GetReporter ()
 
static std::shared_ptr< Reporter > grpc::testing::InitBenchmarkReporters ()
 

Function Documentation

◆ ABSL_FLAG() [1/10]

ABSL_FLAG ( bool  ,
enable_log_reporter  ,
true  ,
"Enable reporting of benchmark results through GprLog"   
)

◆ ABSL_FLAG() [2/10]

ABSL_FLAG ( bool  ,
enable_rpc_reporter  ,
false  ,
"Enable use of RPC reporter"   
)

◆ ABSL_FLAG() [3/10]

ABSL_FLAG ( std::string  ,
hashed_id  ,
""  ,
"Hash of the user id  
)

◆ ABSL_FLAG() [4/10]

ABSL_FLAG ( std::string  ,
rpc_reporter_credential_type  ,
grpc::testing::kInsecureCredentialsType  ,
"Credential type for communication to the QPS benchmark report server  
)

◆ ABSL_FLAG() [5/10]

ABSL_FLAG ( std::string  ,
rpc_reporter_server_address  ,
""  ,
"Server address for rpc reporter to send results to  
)

◆ ABSL_FLAG() [6/10]

ABSL_FLAG ( std::string  ,
scenario_result_file  ,
""  ,
"Write JSON benchmark report to the file specified."   
)

◆ ABSL_FLAG() [7/10]

ABSL_FLAG ( std::string  ,
server_address  ,
"localhost:50052"  ,
"Address of the performance database server  
)

◆ ABSL_FLAG() [8/10]

ABSL_FLAG ( std::string  ,
sys_info  ,
""  ,
"System information"   
)

◆ ABSL_FLAG() [9/10]

ABSL_FLAG ( std::string  ,
tag  ,
""  ,
"Optional tag for the test  
)

◆ ABSL_FLAG() [10/10]

ABSL_FLAG ( std::string  ,
test_name  ,
""  ,
"Name of the test being executed"   
)


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