Infrastructure for timer insertion, logging, and testing.
diff --git a/build.json b/build.json
index f8f23e0..4e1e9a7 100644
--- a/build.json
+++ b/build.json
@@ -136,6 +136,7 @@
"src/core/statistics/census_rpc_stats.h",
"src/core/statistics/census_tracing.h",
"src/core/statistics/hash_table.h",
+ "src/core/statistics/timers.h",
"src/core/statistics/window_stats.h",
"src/core/surface/byte_buffer_queue.h",
"src/core/surface/call.h",
@@ -228,6 +229,7 @@
"src/core/statistics/census_rpc_stats.c",
"src/core/statistics/census_tracing.c",
"src/core/statistics/hash_table.c",
+ "src/core/statistics/timers.c",
"src/core/statistics/window_stats.c",
"src/core/surface/byte_buffer.c",
"src/core/surface/byte_buffer_queue.c",
@@ -1659,6 +1661,20 @@
]
},
{
+ "name": "timers_test",
+ "build": "test",
+ "language": "c",
+ "src": [
+ "test/core/statistics/timers_test.c"
+ ],
+ "deps": [
+ "grpc_test_util",
+ "grpc",
+ "gpr_test_util",
+ "gpr"
+ ]
+ },
+ {
"name": "transport_metadata_test",
"build": "test",
"language": "c",