#include <stdio.h>
#include <string.h>
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include <grpc/byte_buffer.h>
#include <grpc/byte_buffer_reader.h>
#include <grpc/grpc.h>
#include <grpc/grpc_security.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gpr/env.h"
#include "src/core/lib/gpr/useful.h"
#include "test/core/memory_usage/memstats.h"
#include "test/core/util/test_config.h"
Go to the source code of this file.
Classes | |
struct | fling_call |
Functions | |
ABSL_FLAG (bool, minstack, false, "Use minimal stack") | |
ABSL_FLAG (int, benchmark, 1000, "Benchmark iterations") | |
ABSL_FLAG (int, warmup, 100, "Warmup iterations") | |
ABSL_FLAG (std::string, target, "localhost:443", "Target host:port") | |
static void | finish_ping_pong_request (int call_idx) |
static void | init_ping_pong_request (int call_idx) |
int | main (int argc, char **argv) |
std::pair< MemStats, MemStats > | run_test_loop (int iterations, int *call_idx) |
static MemStats | send_snapshot_request (int call_idx, grpc_slice call_type) |
static void * | tag (intptr_t t) |
Variables | |
static fling_call | calls [100001] |
static grpc_channel * | channel |
static grpc_completion_queue * | cq |
static grpc_op | metadata_ops [2] |
static grpc_op * | op |
static grpc_op | snapshot_ops [6] |
static grpc_op | status_ops [2] |
ABSL_FLAG | ( | int | , |
benchmark | , | ||
1000 | , | ||
"Benchmark iterations" | |||
) |
ABSL_FLAG | ( | std::string | , |
target | , | ||
"localhost:443" | , | ||
"Target host:port" | |||
) |
|
static |
Definition at line 92 of file test/core/memory_usage/client.cc.
|
static |
Definition at line 64 of file test/core/memory_usage/client.cc.
Definition at line 220 of file test/core/memory_usage/client.cc.
Definition at line 174 of file test/core/memory_usage/client.cc.
|
static |
Definition at line 116 of file test/core/memory_usage/client.cc.
|
static |
Definition at line 59 of file test/core/memory_usage/client.cc.
|
static |
Definition at line 57 of file test/core/memory_usage/client.cc.
|
static |
Definition at line 40 of file test/core/memory_usage/client.cc.
|
static |
Definition at line 41 of file test/core/memory_usage/client.cc.
|
static |
Definition at line 42 of file test/core/memory_usage/client.cc.
|
static |
Definition at line 45 of file test/core/memory_usage/client.cc.
|
static |
Definition at line 44 of file test/core/memory_usage/client.cc.
|
static |
Definition at line 43 of file test/core/memory_usage/client.cc.