MCPcopy Create free account
hub / github.com/Tencent/phxqueue / ShowUsage

Function ShowUsage

phxqueue_phxrpc/test/producer_benchmark_main.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24extern char *program_invocation_short_name;
25
26void ShowUsage(const char *program) {
27 printf("\n");
28 printf("Usage: %s <qps> <nthread> <nroutine_per_thread> <buf_size> [<ndaemon_batch_thread>]\n", program);
29 printf("\n");
30
31 exit(0);
32}
33
34int main(int argc, char **argv) {
35 const char *module_name{program_invocation_short_name};

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected