summaryrefslogtreecommitdiff
path: root/src/res
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/res
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/res')
-rw-r--r--src/res/node_perfctr_provider.man107
1 files changed, 0 insertions, 107 deletions
diff --git a/src/res/node_perfctr_provider.man b/src/res/node_perfctr_provider.man
deleted file mode 100644
index 2f77e332f7..0000000000
--- a/src/res/node_perfctr_provider.man
+++ /dev/null
@@ -1,107 +0,0 @@
-<instrumentationManifest
- xmlns="http://schemas.microsoft.com/win/2004/08/events"
- xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events"
- xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <instrumentation>
- <counters xmlns="http://schemas.microsoft.com/win/2005/12/counters"
- schemaVersion="1.1">
- <provider symbol="NodeCounterProvider"
- applicationIdentity="node.exe"
- providerType="userMode"
- providerGuid="{793C9B44-3D6B-4F57-B5D7-4FF80ADCF9A2}">
- <counterSet symbol="NodeCounterSet"
- guid="{3A22A8EC-297C-48AC-AB15-33EC93033FD8}"
- uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet"
- name="Node.js"
- description="Node.js performance counters"
- instances="multipleAggregate">
-
- <counter id="1"
- uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.httpsrvreq"
- name="HTTP server requests"
- description="Number of HTTP server requests"
- type="perf_counter_counter"
- detailLevel="standard"
- aggregate="sum" />
-
- <counter id="2"
- uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.httpsrvrsp"
- name="HTTP server responses"
- description="Number of HTTP server responses"
- type="perf_counter_counter"
- detailLevel="standard"
- aggregate="sum" />
-
- <counter id="3"
- uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.httpclireq"
- name="HTTP client requests"
- description="Number of HTTP client requests"
- type="perf_counter_counter"
- detailLevel="standard"
- aggregate="sum" />
-
- <counter id="4"
- uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.httpclirsp"
- name="HTTP client responses"
- description="Number of HTTP client responses"
- type="perf_counter_counter"
- detailLevel="standard"
- aggregate="sum" />
-
- <counter id="5"
- uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.netsrvconn"
- name="Active server connections"
- description="Number of server connections"
- type="perf_counter_rawcount"
- detailLevel="standard"
- aggregate="sum" />
-
- <counter id="6"
- uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.netbytesent"
- name="Network bytes sent"
- description="Number of bytes sent using TCP"
- type="perf_counter_bulk_count"
- detailLevel="standard"
- defaultScale="-3"
- aggregate="sum" />
-
- <counter id="7"
- uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.netbyterecv"
- name="Network bytes received"
- description="Number of bytes received using TCP"
- type="perf_counter_bulk_count"
- detailLevel="standard"
- defaultScale="-3"
- aggregate="sum" />
-
- <counter id="8"
- uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.gctime"
- name="%Time in GC"
- description="Percent of time for last GC"
- type="perf_counter_rawcount"
- detailLevel="standard"
- aggregate="avg" />
-
- <counter id="9"
- uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.pipebytesent"
- name="Pipe bytes sent"
- description="Number of bytes sent using pipe"
- type="perf_counter_bulk_count"
- detailLevel="standard"
- defaultScale="-3"
- aggregate="sum" />
-
- <counter id="10"
- uri="Microsoft.Windows.System.PerfCounters.NodeCounterSet.pipebyterecv"
- name="Pipe bytes received"
- description="Number of bytes received using pipe"
- type="perf_counter_bulk_count"
- detailLevel="standard"
- defaultScale="-3"
- aggregate="sum" />
-
- </counterSet>
- </provider>
- </counters>
- </instrumentation>
-</instrumentationManifest>