We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39cd0a8 commit f11accaCopy full SHA for f11acca
src/node_win32_perfctr_provider.cc
@@ -159,7 +159,7 @@ void InitPerfCountersWin32() {
159
160
status = perfctr_setCounterSetInfo(NodeCounterProvider,
161
&NodeCounterSetInfo.CounterSet,
162
- sizeof(NodeCounterSetInfo));
+ sizeof(NodeCounterSetInfo.CounterSet));
163
if (status != ERROR_SUCCESS) {
164
perfctr_stopProvider(NodeCounterProvider);
165
NodeCounterProvider = nullptr;
0 commit comments