perf_hooks: fix loop delay resolution validation · nodejs/node@548cbf0 · GitHub
Skip to content

Commit 548cbf0

Browse files
aduh95Flarna
authored andcommitted
perf_hooks: fix loop delay resolution validation
Fixes: #38160 PR-URL: #38166 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 993a1da commit 548cbf0

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/node_perf.cc

Lines changed: 2 additions & 2 deletions

src/node_perf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class ELDHistogram : public IntervalHistogram {
166166
ELDHistogram(
167167
Environment* env,
168168
v8::Local<v8::Object> wrap,
169-
int32_t interval);
169+
int64_t interval);
170170

171171
void OnInterval() override;
172172

test/sequential/test-performance-eventloopdelay.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)