aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/codegen/core/gen_stats_data.py
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-08-31 11:26:30 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-08-31 11:26:30 -0700
commit520d76d698f7f03038fd7fcfe1a2129acd0fa948 (patch)
treed2e9cb6fd4daf47df0aae22f9314dc0b2ddfd205 /tools/codegen/core/gen_stats_data.py
parentba69d282f59b09b1fd8f6c01a4ccb6a2aa647021 (diff)
Compile fix
Diffstat (limited to 'tools/codegen/core/gen_stats_data.py')
-rwxr-xr-xtools/codegen/core/gen_stats_data.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/codegen/core/gen_stats_data.py b/tools/codegen/core/gen_stats_data.py
index 30e0072eec..e599378690 100755
--- a/tools/codegen/core/gen_stats_data.py
+++ b/tools/codegen/core/gen_stats_data.py
@@ -130,7 +130,6 @@ def gen_bucket_code(histogram):
code += 'if (_hist_val < 0) _hist_val = 0;\\\n'
code += 'uint64_t _hist_idx = *(uint64_t*)&_hist_val;\\\n'
map_table = gen_map_table(code_bounds[first_nontrivial:], shift_data)
- code += 'gpr_log(GPR_DEBUG, "' + histogram.name + ' %lf %"PRId64 " %"PRId64, _hist_val, _hist_idx, ' + str((map_table[-1] << shift_data[0]) + first_nontrivial_code) + 'ull);\\\n'
if first_nontrivial is None:
code += ('GRPC_STATS_INC_HISTOGRAM((exec_ctx), GRPC_STATS_HISTOGRAM_%s, (int)_hist_val);\\\n'
% histogram.name.upper())