sosy-lab / cpu-energy-meter

A tool for measuring energy consumption of Intel CPUs
BSD 3-Clause "New" or "Revised" License
321 stars 29 forks source link

Sampling delay must be greater than 50 ms. #32

Closed nricciardi closed 11 months ago

nricciardi commented 11 months ago

I have installed the last version of this software (CPU Energy Meter v1.2), but when I try to run it using -e option it returns

Sampling delay must be greater than 50 ms.

whatever I use as value.

Below an example.

$ cpu-energy-meter -e=1
Sampling delay must be greater than 50 ms.

$ cpu-energy-meter -e=10000
Sampling delay must be greater than 50 ms.

$ cpu-energy-meter -e=10000000
Sampling delay must be greater than 50 ms.

I think this is a bug.

PhilippWendler commented 11 months ago

Right, thanks for reporting. The syntax with = was documented but did not work, only -e100 and -e 100. Now -e=100 works as well.