Skip to content
Snippets Groups Projects
Commit 6dfa7e6e authored by Vijay Pai's avatar Vijay Pai
Browse files

Move files to a new "profiling" directory to better distinguish from census

statistics
parent c5624f73
No related branches found
No related tags found
No related merge requests found
...@@ -186,12 +186,12 @@ cc_library( ...@@ -186,12 +186,12 @@ cc_library(
"src/core/json/json_common.h", "src/core/json/json_common.h",
"src/core/json/json_reader.h", "src/core/json/json_reader.h",
"src/core/json/json_writer.h", "src/core/json/json_writer.h",
"src/core/profiling/timers.h",
"src/core/statistics/census_interface.h", "src/core/statistics/census_interface.h",
"src/core/statistics/census_log.h", "src/core/statistics/census_log.h",
"src/core/statistics/census_rpc_stats.h", "src/core/statistics/census_rpc_stats.h",
"src/core/statistics/census_tracing.h", "src/core/statistics/census_tracing.h",
"src/core/statistics/hash_table.h", "src/core/statistics/hash_table.h",
"src/core/statistics/timers.h",
"src/core/statistics/window_stats.h", "src/core/statistics/window_stats.h",
"src/core/surface/byte_buffer_queue.h", "src/core/surface/byte_buffer_queue.h",
"src/core/surface/call.h", "src/core/surface/call.h",
...@@ -298,12 +298,12 @@ cc_library( ...@@ -298,12 +298,12 @@ cc_library(
"src/core/json/json_reader.c", "src/core/json/json_reader.c",
"src/core/json/json_string.c", "src/core/json/json_string.c",
"src/core/json/json_writer.c", "src/core/json/json_writer.c",
"src/core/profiling/timers.c",
"src/core/statistics/census_init.c", "src/core/statistics/census_init.c",
"src/core/statistics/census_log.c", "src/core/statistics/census_log.c",
"src/core/statistics/census_rpc_stats.c", "src/core/statistics/census_rpc_stats.c",
"src/core/statistics/census_tracing.c", "src/core/statistics/census_tracing.c",
"src/core/statistics/hash_table.c", "src/core/statistics/hash_table.c",
"src/core/statistics/timers.c",
"src/core/statistics/window_stats.c", "src/core/statistics/window_stats.c",
"src/core/surface/byte_buffer.c", "src/core/surface/byte_buffer.c",
"src/core/surface/byte_buffer_queue.c", "src/core/surface/byte_buffer_queue.c",
...@@ -415,12 +415,12 @@ cc_library( ...@@ -415,12 +415,12 @@ cc_library(
"src/core/json/json_common.h", "src/core/json/json_common.h",
"src/core/json/json_reader.h", "src/core/json/json_reader.h",
"src/core/json/json_writer.h", "src/core/json/json_writer.h",
"src/core/profiling/timers.h",
"src/core/statistics/census_interface.h", "src/core/statistics/census_interface.h",
"src/core/statistics/census_log.h", "src/core/statistics/census_log.h",
"src/core/statistics/census_rpc_stats.h", "src/core/statistics/census_rpc_stats.h",
"src/core/statistics/census_tracing.h", "src/core/statistics/census_tracing.h",
"src/core/statistics/hash_table.h", "src/core/statistics/hash_table.h",
"src/core/statistics/timers.h",
"src/core/statistics/window_stats.h", "src/core/statistics/window_stats.h",
"src/core/surface/byte_buffer_queue.h", "src/core/surface/byte_buffer_queue.h",
"src/core/surface/call.h", "src/core/surface/call.h",
...@@ -507,12 +507,12 @@ cc_library( ...@@ -507,12 +507,12 @@ cc_library(
"src/core/json/json_reader.c", "src/core/json/json_reader.c",
"src/core/json/json_string.c", "src/core/json/json_string.c",
"src/core/json/json_writer.c", "src/core/json/json_writer.c",
"src/core/profiling/timers.c",
"src/core/statistics/census_init.c", "src/core/statistics/census_init.c",
"src/core/statistics/census_log.c", "src/core/statistics/census_log.c",
"src/core/statistics/census_rpc_stats.c", "src/core/statistics/census_rpc_stats.c",
"src/core/statistics/census_tracing.c", "src/core/statistics/census_tracing.c",
"src/core/statistics/hash_table.c", "src/core/statistics/hash_table.c",
"src/core/statistics/timers.c",
"src/core/statistics/window_stats.c", "src/core/statistics/window_stats.c",
"src/core/surface/byte_buffer.c", "src/core/surface/byte_buffer.c",
"src/core/surface/byte_buffer_queue.c", "src/core/surface/byte_buffer_queue.c",
......
...@@ -2636,12 +2636,12 @@ LIBGRPC_SRC = \ ...@@ -2636,12 +2636,12 @@ LIBGRPC_SRC = \
src/core/json/json_reader.c \ src/core/json/json_reader.c \
src/core/json/json_string.c \ src/core/json/json_string.c \
src/core/json/json_writer.c \ src/core/json/json_writer.c \
src/core/profiling/timers.c \
src/core/statistics/census_init.c \ src/core/statistics/census_init.c \
src/core/statistics/census_log.c \ src/core/statistics/census_log.c \
src/core/statistics/census_rpc_stats.c \ src/core/statistics/census_rpc_stats.c \
src/core/statistics/census_tracing.c \ src/core/statistics/census_tracing.c \
src/core/statistics/hash_table.c \ src/core/statistics/hash_table.c \
src/core/statistics/timers.c \
src/core/statistics/window_stats.c \ src/core/statistics/window_stats.c \
src/core/surface/byte_buffer.c \ src/core/surface/byte_buffer.c \
src/core/surface/byte_buffer_queue.c \ src/core/surface/byte_buffer_queue.c \
...@@ -2784,12 +2784,12 @@ src/core/json/json.c: $(OPENSSL_DEP) ...@@ -2784,12 +2784,12 @@ src/core/json/json.c: $(OPENSSL_DEP)
src/core/json/json_reader.c: $(OPENSSL_DEP) src/core/json/json_reader.c: $(OPENSSL_DEP)
src/core/json/json_string.c: $(OPENSSL_DEP) src/core/json/json_string.c: $(OPENSSL_DEP)
src/core/json/json_writer.c: $(OPENSSL_DEP) src/core/json/json_writer.c: $(OPENSSL_DEP)
src/core/profiling/timers.c: $(OPENSSL_DEP)
src/core/statistics/census_init.c: $(OPENSSL_DEP) src/core/statistics/census_init.c: $(OPENSSL_DEP)
src/core/statistics/census_log.c: $(OPENSSL_DEP) src/core/statistics/census_log.c: $(OPENSSL_DEP)
src/core/statistics/census_rpc_stats.c: $(OPENSSL_DEP) src/core/statistics/census_rpc_stats.c: $(OPENSSL_DEP)
src/core/statistics/census_tracing.c: $(OPENSSL_DEP) src/core/statistics/census_tracing.c: $(OPENSSL_DEP)
src/core/statistics/hash_table.c: $(OPENSSL_DEP) src/core/statistics/hash_table.c: $(OPENSSL_DEP)
src/core/statistics/timers.c: $(OPENSSL_DEP)
src/core/statistics/window_stats.c: $(OPENSSL_DEP) src/core/statistics/window_stats.c: $(OPENSSL_DEP)
src/core/surface/byte_buffer.c: $(OPENSSL_DEP) src/core/surface/byte_buffer.c: $(OPENSSL_DEP)
src/core/surface/byte_buffer_queue.c: $(OPENSSL_DEP) src/core/surface/byte_buffer_queue.c: $(OPENSSL_DEP)
...@@ -2948,12 +2948,12 @@ $(OBJDIR)/$(CONFIG)/src/core/json/json.o: ...@@ -2948,12 +2948,12 @@ $(OBJDIR)/$(CONFIG)/src/core/json/json.o:
$(OBJDIR)/$(CONFIG)/src/core/json/json_reader.o: $(OBJDIR)/$(CONFIG)/src/core/json/json_reader.o:
$(OBJDIR)/$(CONFIG)/src/core/json/json_string.o: $(OBJDIR)/$(CONFIG)/src/core/json/json_string.o:
$(OBJDIR)/$(CONFIG)/src/core/json/json_writer.o: $(OBJDIR)/$(CONFIG)/src/core/json/json_writer.o:
$(OBJDIR)/$(CONFIG)/src/core/profiling/timers.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/census_init.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/census_init.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/census_log.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/census_log.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/census_rpc_stats.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/census_tracing.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/census_tracing.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/hash_table.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/hash_table.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/timers.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/window_stats.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/window_stats.o:
$(OBJDIR)/$(CONFIG)/src/core/surface/byte_buffer.o: $(OBJDIR)/$(CONFIG)/src/core/surface/byte_buffer.o:
$(OBJDIR)/$(CONFIG)/src/core/surface/byte_buffer_queue.o: $(OBJDIR)/$(CONFIG)/src/core/surface/byte_buffer_queue.o:
...@@ -3125,12 +3125,12 @@ LIBGRPC_UNSECURE_SRC = \ ...@@ -3125,12 +3125,12 @@ LIBGRPC_UNSECURE_SRC = \
src/core/json/json_reader.c \ src/core/json/json_reader.c \
src/core/json/json_string.c \ src/core/json/json_string.c \
src/core/json/json_writer.c \ src/core/json/json_writer.c \
src/core/profiling/timers.c \
src/core/statistics/census_init.c \ src/core/statistics/census_init.c \
src/core/statistics/census_log.c \ src/core/statistics/census_log.c \
src/core/statistics/census_rpc_stats.c \ src/core/statistics/census_rpc_stats.c \
src/core/statistics/census_tracing.c \ src/core/statistics/census_tracing.c \
src/core/statistics/hash_table.c \ src/core/statistics/hash_table.c \
src/core/statistics/timers.c \
src/core/statistics/window_stats.c \ src/core/statistics/window_stats.c \
src/core/surface/byte_buffer.c \ src/core/surface/byte_buffer.c \
src/core/surface/byte_buffer_queue.c \ src/core/surface/byte_buffer_queue.c \
...@@ -3266,12 +3266,12 @@ $(OBJDIR)/$(CONFIG)/src/core/json/json.o: ...@@ -3266,12 +3266,12 @@ $(OBJDIR)/$(CONFIG)/src/core/json/json.o:
$(OBJDIR)/$(CONFIG)/src/core/json/json_reader.o: $(OBJDIR)/$(CONFIG)/src/core/json/json_reader.o:
$(OBJDIR)/$(CONFIG)/src/core/json/json_string.o: $(OBJDIR)/$(CONFIG)/src/core/json/json_string.o:
$(OBJDIR)/$(CONFIG)/src/core/json/json_writer.o: $(OBJDIR)/$(CONFIG)/src/core/json/json_writer.o:
$(OBJDIR)/$(CONFIG)/src/core/profiling/timers.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/census_init.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/census_init.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/census_log.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/census_log.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/census_rpc_stats.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/census_tracing.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/census_tracing.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/hash_table.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/hash_table.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/timers.o:
$(OBJDIR)/$(CONFIG)/src/core/statistics/window_stats.o: $(OBJDIR)/$(CONFIG)/src/core/statistics/window_stats.o:
$(OBJDIR)/$(CONFIG)/src/core/surface/byte_buffer.o: $(OBJDIR)/$(CONFIG)/src/core/surface/byte_buffer.o:
$(OBJDIR)/$(CONFIG)/src/core/surface/byte_buffer_queue.o: $(OBJDIR)/$(CONFIG)/src/core/surface/byte_buffer_queue.o:
...@@ -8160,7 +8160,7 @@ endif ...@@ -8160,7 +8160,7 @@ endif
   
   
TIMERS_TEST_SRC = \ TIMERS_TEST_SRC = \
test/core/statistics/timers_test.c \ test/core/profiling/timers_test.c \
   
TIMERS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMERS_TEST_SRC)))) TIMERS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMERS_TEST_SRC))))
   
...@@ -8179,7 +8179,7 @@ $(BINDIR)/$(CONFIG)/timers_test: $(TIMERS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc ...@@ -8179,7 +8179,7 @@ $(BINDIR)/$(CONFIG)/timers_test: $(TIMERS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc
   
endif endif
   
$(OBJDIR)/$(CONFIG)/test/core/statistics/timers_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(OBJDIR)/$(CONFIG)/test/core/profiling/timers_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
   
deps_timers_test: $(TIMERS_TEST_OBJS:.o=.dep) deps_timers_test: $(TIMERS_TEST_OBJS:.o=.dep)
   
...@@ -137,12 +137,12 @@ ...@@ -137,12 +137,12 @@
"src/core/json/json_common.h", "src/core/json/json_common.h",
"src/core/json/json_reader.h", "src/core/json/json_reader.h",
"src/core/json/json_writer.h", "src/core/json/json_writer.h",
"src/core/profiling/timers.h",
"src/core/statistics/census_interface.h", "src/core/statistics/census_interface.h",
"src/core/statistics/census_log.h", "src/core/statistics/census_log.h",
"src/core/statistics/census_rpc_stats.h", "src/core/statistics/census_rpc_stats.h",
"src/core/statistics/census_tracing.h", "src/core/statistics/census_tracing.h",
"src/core/statistics/hash_table.h", "src/core/statistics/hash_table.h",
"src/core/statistics/timers.h",
"src/core/statistics/window_stats.h", "src/core/statistics/window_stats.h",
"src/core/surface/byte_buffer_queue.h", "src/core/surface/byte_buffer_queue.h",
"src/core/surface/call.h", "src/core/surface/call.h",
...@@ -230,12 +230,12 @@ ...@@ -230,12 +230,12 @@
"src/core/json/json_reader.c", "src/core/json/json_reader.c",
"src/core/json/json_string.c", "src/core/json/json_string.c",
"src/core/json/json_writer.c", "src/core/json/json_writer.c",
"src/core/profiling/timers.c",
"src/core/statistics/census_init.c", "src/core/statistics/census_init.c",
"src/core/statistics/census_log.c", "src/core/statistics/census_log.c",
"src/core/statistics/census_rpc_stats.c", "src/core/statistics/census_rpc_stats.c",
"src/core/statistics/census_tracing.c", "src/core/statistics/census_tracing.c",
"src/core/statistics/hash_table.c", "src/core/statistics/hash_table.c",
"src/core/statistics/timers.c",
"src/core/statistics/window_stats.c", "src/core/statistics/window_stats.c",
"src/core/surface/byte_buffer.c", "src/core/surface/byte_buffer.c",
"src/core/surface/byte_buffer_queue.c", "src/core/surface/byte_buffer_queue.c",
...@@ -1726,7 +1726,7 @@ ...@@ -1726,7 +1726,7 @@
"build": "test", "build": "test",
"language": "c", "language": "c",
"src": [ "src": [
"test/core/statistics/timers_test.c" "test/core/profiling/timers_test.c"
], ],
"deps": [ "deps": [
"grpc_test_util", "grpc_test_util",
......
File moved
File moved
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include "src/core/debug/trace.h" #include "src/core/debug/trace.h"
#include "src/core/iomgr/iomgr.h" #include "src/core/iomgr/iomgr.h"
#include "src/core/statistics/census_interface.h" #include "src/core/statistics/census_interface.h"
#include "src/core/statistics/timers.h" #include "src/core/profiling/timers.h"
#include "src/core/surface/call.h" #include "src/core/surface/call.h"
#include "src/core/surface/init.h" #include "src/core/surface/init.h"
#include "src/core/surface/surface_trace.h" #include "src/core/surface/surface_trace.h"
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* *
*/ */
#include "src/core/statistics/timers.h" #include "src/core/profiling/timers.h"
#include <stdlib.h> #include <stdlib.h>
#include "test/core/util/test_config.h" #include "test/core/util/test_config.h"
......
...@@ -331,6 +331,11 @@ ...@@ -331,6 +331,11 @@
"language": "c", "language": "c",
"name": "timeout_encoding_test" "name": "timeout_encoding_test"
}, },
{
"flaky": false,
"language": "c",
"name": "timers_test"
},
{ {
"flaky": false, "flaky": false,
"language": "c", "language": "c",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment