|
|
|
@ -27,6 +27,10 @@ |
|
|
|
|
typedef enum { |
|
|
|
|
GRPC_STATS_COUNTER_CLIENT_CALLS_CREATED, |
|
|
|
|
GRPC_STATS_COUNTER_SERVER_CALLS_CREATED, |
|
|
|
|
GRPC_STATS_COUNTER_CQS_CREATED, |
|
|
|
|
GRPC_STATS_COUNTER_CLIENT_CHANNELS_CREATED, |
|
|
|
|
GRPC_STATS_COUNTER_CLIENT_SUBCHANNELS_CREATED, |
|
|
|
|
GRPC_STATS_COUNTER_SERVER_CHANNELS_CREATED, |
|
|
|
|
GRPC_STATS_COUNTER_SYSCALL_POLL, |
|
|
|
|
GRPC_STATS_COUNTER_SYSCALL_WAIT, |
|
|
|
|
GRPC_STATS_COUNTER_HISTOGRAM_SLOW_LOOKUPS, |
|
|
|
@ -109,6 +113,15 @@ typedef enum { |
|
|
|
|
GRPC_STATS_INC_COUNTER((exec_ctx), GRPC_STATS_COUNTER_CLIENT_CALLS_CREATED) |
|
|
|
|
#define GRPC_STATS_INC_SERVER_CALLS_CREATED(exec_ctx) \ |
|
|
|
|
GRPC_STATS_INC_COUNTER((exec_ctx), GRPC_STATS_COUNTER_SERVER_CALLS_CREATED) |
|
|
|
|
#define GRPC_STATS_INC_CQS_CREATED(exec_ctx) \ |
|
|
|
|
GRPC_STATS_INC_COUNTER((exec_ctx), GRPC_STATS_COUNTER_CQS_CREATED) |
|
|
|
|
#define GRPC_STATS_INC_CLIENT_CHANNELS_CREATED(exec_ctx) \ |
|
|
|
|
GRPC_STATS_INC_COUNTER((exec_ctx), GRPC_STATS_COUNTER_CLIENT_CHANNELS_CREATED) |
|
|
|
|
#define GRPC_STATS_INC_CLIENT_SUBCHANNELS_CREATED(exec_ctx) \ |
|
|
|
|
GRPC_STATS_INC_COUNTER((exec_ctx), \
|
|
|
|
|
GRPC_STATS_COUNTER_CLIENT_SUBCHANNELS_CREATED) |
|
|
|
|
#define GRPC_STATS_INC_SERVER_CHANNELS_CREATED(exec_ctx) \ |
|
|
|
|
GRPC_STATS_INC_COUNTER((exec_ctx), GRPC_STATS_COUNTER_SERVER_CHANNELS_CREATED) |
|
|
|
|
#define GRPC_STATS_INC_SYSCALL_POLL(exec_ctx) \ |
|
|
|
|
GRPC_STATS_INC_COUNTER((exec_ctx), GRPC_STATS_COUNTER_SYSCALL_POLL) |
|
|
|
|
#define GRPC_STATS_INC_SYSCALL_WAIT(exec_ctx) \ |
|
|
|
|