#include <grpc/support/port_platform.h>
#include "src/core/lib/debug/stats.h"
#include <inttypes.h>
#include <string.h>
#include <algorithm>
#include <vector>
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include <grpc/support/alloc.h>
#include <grpc/support/cpu.h>
#include <grpc/support/sync.h>
Go to the source code of this file.
|
void | grpc_stats_collect (grpc_stats_data *output) |
|
std::string | grpc_stats_data_as_json (const grpc_stats_data *data) |
|
void | grpc_stats_diff (const grpc_stats_data *b, const grpc_stats_data *a, grpc_stats_data *c) |
|
size_t | grpc_stats_histo_count (const grpc_stats_data *stats, grpc_stats_histograms histogram) |
|
int | grpc_stats_histo_find_bucket_slow (int value, const int *table, int table_size) |
|
double | grpc_stats_histo_percentile (const grpc_stats_data *stats, grpc_stats_histograms histogram, double percentile) |
|
void | grpc_stats_init (void) |
|
static double | threshold_for_count_below (const gpr_atm *bucket_counts, const int *bucket_boundaries, int num_buckets, double count_below) |
|
◆ grpc_stats_collect()
◆ grpc_stats_data_as_json()
◆ grpc_stats_diff()
◆ grpc_stats_histo_count()
◆ grpc_stats_histo_find_bucket_slow()
int grpc_stats_histo_find_bucket_slow |
( |
int |
value, |
|
|
const int * |
table, |
|
|
int |
table_size |
|
) |
| |
◆ grpc_stats_histo_percentile()
◆ grpc_stats_init()
void grpc_stats_init |
( |
void |
| ) |
|
◆ threshold_for_count_below()
static double threshold_for_count_below |
( |
const gpr_atm * |
bucket_counts, |
|
|
const int * |
bucket_boundaries, |
|
|
int |
num_buckets, |
|
|
double |
count_below |
|
) |
| |
|
static |
◆ g_num_cores
◆ g_once
◆ grpc_stats_per_cpu_storage