ResetSo it musn't be too hot,
======
The PERF_METRICS and Fixed counter 3 have to be reset for each read,
because:
- The 8bit metrics ratio values lose precision when the measurement
period gets longer.
- The PERF_METRICS may report wrong value if its delta was less than
1/255 of SLOTS (Fixed counter 3).
it also musn't be too cold. But that leaves it unspecified what exactly
is the right range.
IOW, you want a Goldilocks number of SLOTS.
Also, for counting, the -max_period is the initial value of the SLOTS.But you just told us that 0 is wrong too (too cold).
The huge initial value will definitely trigger the issue mentioned
above. Force initial value as 0 for topdown and slots event counting.