summaryrefslogtreecommitdiff
path: root/src/perfctr_macros.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/perfctr_macros.py')
-rw-r--r--src/perfctr_macros.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/perfctr_macros.py b/src/perfctr_macros.py
new file mode 100644
index 0000000000..2f7e3cbf82
--- /dev/null
+++ b/src/perfctr_macros.py
@@ -0,0 +1,9 @@
+# This file is used by tools/js2c.py to preprocess out the performance counters
+# symbols in builds that don't support counters. This is not used in builds
+# that support performance counters.
+macro COUNTER_NET_SERVER_CONNECTION(x) = ;
+macro COUNTER_NET_SERVER_CONNECTION_CLOSE(x) = ;
+macro COUNTER_HTTP_SERVER_REQUEST(x) = ;
+macro COUNTER_HTTP_SERVER_RESPONSE(x) = ;
+macro COUNTER_HTTP_CLIENT_REQUEST(x) = ;
+macro COUNTER_HTTP_CLIENT_RESPONSE(x) = ;