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 42ef7a4 commit bab6dc2Copy full SHA for bab6dc2
src/lib/perf/perf_counter.cpp
@@ -411,6 +411,8 @@ perf_reset(perf_counter_t handle)
411
pce->time_total = 0;
412
pce->time_least = 0;
413
pce->time_most = 0;
414
+ pce->mean = 0.0f;
415
+ pce->M2 = 0.0f;
416
break;
417
}
418
@@ -422,6 +424,8 @@ perf_reset(perf_counter_t handle)
422
424
pci->time_last = 0;
423
425
pci->time_least = 0;
426
pci->time_most = 0;
427
+ pci->mean = 0.0f;
428
+ pci->M2 = 0.0f;
429
430
431
0 commit comments