Namespaces | Functions | Variables
worker.cc File Reference
#include <signal.h>
#include <chrono>
#include <thread>
#include <vector>
#include "absl/flags/flag.h"
#include <grpc/grpc.h>
#include <grpc/support/time.h>
#include "test/core/util/test_config.h"
#include "test/cpp/qps/qps_worker.h"
#include "test/cpp/util/test_config.h"
#include "test/cpp/util/test_credentials_provider.h"
Include dependency graph for worker.cc:

Go to the source code of this file.

Namespaces

 grpc
 
 grpc::testing
 

Functions

 ABSL_FLAG (int32_t, driver_port, 0, "Port for communication with driver")
 
 ABSL_FLAG (int32_t, server_port, 0, "Port for operation as a server, if not specified by the server " "config message")
 
 ABSL_FLAG (std::string, credential_type, grpc::testing::kInsecureCredentialsType, "Credential type for communication with driver")
 
int main (int argc, char **argv)
 
void grpc::testing::RunServer ()
 
static void sigint_handler (int)
 

Variables

static bool got_sigint = false
 

Function Documentation

◆ ABSL_FLAG() [1/3]

ABSL_FLAG ( int32_t  ,
driver_port  ,
,
"Port for communication with driver"   
)

◆ ABSL_FLAG() [2/3]

ABSL_FLAG ( int32_t  ,
server_port  ,
,
"Port for operation as a  server,
if not specified by the server " "config message  
)

◆ ABSL_FLAG() [3/3]

ABSL_FLAG ( std::string  ,
credential_type  ,
grpc::testing::kInsecureCredentialsType  ,
"Credential type for communication with driver"   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 65 of file worker.cc.

◆ sigint_handler()

static void sigint_handler ( int  )
static

Definition at line 44 of file worker.cc.

Variable Documentation

◆ got_sigint

bool got_sigint = false
static

Definition at line 42 of file worker.cc.



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