diff options
author | Craig Tiller <ctiller@google.com> | 2017-08-31 11:26:30 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-08-31 11:26:30 -0700 |
commit | 520d76d698f7f03038fd7fcfe1a2129acd0fa948 (patch) | |
tree | d2e9cb6fd4daf47df0aae22f9314dc0b2ddfd205 /src/core | |
parent | ba69d282f59b09b1fd8f6c01a4ccb6a2aa647021 (diff) |
Compile fix
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lib/debug/stats_data.h | 6 | ||||
-rw-r--r-- | src/core/lib/debug/stats_data.yaml | 27 |
2 files changed, 9 insertions, 24 deletions
diff --git a/src/core/lib/debug/stats_data.h b/src/core/lib/debug/stats_data.h index 51e1c5a533..5d616c73c7 100644 --- a/src/core/lib/debug/stats_data.h +++ b/src/core/lib/debug/stats_data.h @@ -69,8 +69,6 @@ typedef enum { double _hist_val = (double)(value); \ if (_hist_val < 0) _hist_val = 0; \ uint64_t _hist_idx = *(uint64_t *)&_hist_val; \ - gpr_log(GPR_DEBUG, "tcp_write_size %lf %" PRId64 " %" PRId64, _hist_val, \ - _hist_idx, 4715268809856909312ull); \ if (_hist_val < 5.000000) { \ GRPC_STATS_INC_HISTOGRAM( \ (exec_ctx), GRPC_STATS_HISTOGRAM_TCP_WRITE_SIZE, (int)_hist_val); \ @@ -92,8 +90,6 @@ typedef enum { double _hist_val = (double)(value); \ if (_hist_val < 0) _hist_val = 0; \ uint64_t _hist_idx = *(uint64_t *)&_hist_val; \ - gpr_log(GPR_DEBUG, "tcp_write_iov_size %lf %" PRId64 " %" PRId64, \ - _hist_val, _hist_idx, 4652218415073722368ull); \ if (_hist_val < 12.000000) { \ GRPC_STATS_INC_HISTOGRAM((exec_ctx), \ GRPC_STATS_HISTOGRAM_TCP_WRITE_IOV_SIZE, \ @@ -116,8 +112,6 @@ typedef enum { double _hist_val = (double)(value); \ if (_hist_val < 0) _hist_val = 0; \ uint64_t _hist_idx = *(uint64_t *)&_hist_val; \ - gpr_log(GPR_DEBUG, "tcp_read_size %lf %" PRId64 " %" PRId64, _hist_val, \ - _hist_idx, 4715268809856909312ull); \ if (_hist_val < 5.000000) { \ GRPC_STATS_INC_HISTOGRAM((exec_ctx), GRPC_STATS_HISTOGRAM_TCP_READ_SIZE, \ (int)_hist_val); \ diff --git a/src/core/lib/debug/stats_data.yaml b/src/core/lib/debug/stats_data.yaml index 714837f5f0..ded3e89cb2 100644 --- a/src/core/lib/debug/stats_data.yaml +++ b/src/core/lib/debug/stats_data.yaml @@ -1,19 +1,10 @@ -# Stats data declaration -# use tools/codegen/core/gen_stats_data.py to turn this into stats_data.h +#Stats data declaration +#use tools / codegen / core / gen_stats_data.py to turn this into stats_data.h -- counter: client_calls_created -- counter: server_calls_created -- counter: syscall_write -- counter: syscall_read -- counter: syscall_poll -- counter: syscall_wait -- counter: histogram_slow_lookups -- histogram: tcp_write_size - max: 16777216 # 16 meg max write tracked - buckets: 64 -- histogram: tcp_write_iov_size - max: 1024 - buckets: 64 -- histogram: tcp_read_size - max: 16777216 - buckets: 64 +- counter:client_calls_created - + counter:server_calls_created - counter:syscall_write - + counter:syscall_read - counter:syscall_poll - counter:syscall_wait - + counter:histogram_slow_lookups - + histogram:tcp_write_size max:16777216 #16 meg max write tracked buckets:64 - + histogram:tcp_write_iov_size max:1024 buckets:64 - + histogram:tcp_read_size max:16777216 buckets:64 |