Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2017-12-20 04:40:41 +0300
committerJames M Snell <jasnell@gmail.com>2018-01-02 19:56:30 +0300
commit231b1166cfec42e445613a59286fd7610c0d7481 (patch)
treee13aa1119a6fc0733a44687a598fb672a29435dd /src/node_perf.cc
parent54062d30cf3550fdb6220fa580724b76da817f32 (diff)
http2: perf_hooks integration
Collect and report basic timing information about `Http2Session` and `Http2Stream` instances. PR-URL: https://github.com/nodejs/node/pull/17906 Refs: https://github.com/nodejs/node/issues/17746 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'src/node_perf.cc')
-rw-r--r--src/node_perf.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node_perf.cc b/src/node_perf.cc
index fcf7cd8b5af..6a59d50fb64 100644
--- a/src/node_perf.cc
+++ b/src/node_perf.cc
@@ -81,9 +81,9 @@ void PerformanceEntry::New(const FunctionCallbackInfo<Value>& args) {
}
// Pass the PerformanceEntry object to the PerformanceObservers
-inline void PerformanceEntry::Notify(Environment* env,
- PerformanceEntryType type,
- Local<Value> object) {
+void PerformanceEntry::Notify(Environment* env,
+ PerformanceEntryType type,
+ Local<Value> object) {
Context::Scope scope(env->context());
uint32_t* observers = env->performance_state()->observers;
if (observers != nullptr &&