summaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-08-23 10:16:00 -0700
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-09-19 11:07:01 +0200
commit9d71e6a6071134789a30471302d9735250dea96c (patch)
tree67a21cf09e3f5e3dd152ba22717ace87860e2f23 /src/node_internals.h
parent6e746f1a55e5d94f1a8330d3436a64ed8d6f639b (diff)
downloadandroid-node-v8-9d71e6a6071134789a30471302d9735250dea96c.tar.gz
android-node-v8-9d71e6a6071134789a30471302d9735250dea96c.tar.bz2
android-node-v8-9d71e6a6071134789a30471302d9735250dea96c.zip
src: deprecate global COUNTER_* and remove perfctr
To support Performance Counters on Windows, a number of global `COUNTER_` methods were added that are undocumented and really only intended to be used internally by Node.js. Unfortunately, the perfctr support apparently hasn't even worked for quite a while and no one has even complained. This removes the perfctr support and replaces the global functions with deprecated non-ops for now, with the intent of removing those outright in the next major release cycle. PR-URL: https://github.com/nodejs/node/pull/22485 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: João Reis <reis@janeasystems.com>
Diffstat (limited to 'src/node_internals.h')
-rw-r--r--src/node_internals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index 0bf08210a6..9a34825b1e 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -132,7 +132,7 @@ struct sockaddr;
V(string_decoder) \
V(symbols) \
V(tcp_wrap) \
- V(timers) \
+ V(timers) \
V(trace_events) \
V(tty_wrap) \
V(types) \