Allow Users To Modify Polling Rate #4

Merged
Ta180m merged 1 commit from sensor_rate into master 2021-04-01 18:34:36 +00:00

1 commit

Author SHA1 Message Date
Leonardo Gates
b8d3154b03 Allow Users To Modify Polling Rate
This patch allows users to modify how quickly sensors are polled.

One of the major features of Zen+ and newer processors is the ability
for them to perform gated sleeping on one or multiple cores at a time,
where power consumption of the gated core is "basically zero".

Since, by default, the application uses a polling rate of 300ms, the
power saving features of cores sleeping on Zen+ and newer is negated
when a sensor or MSR is probed often.

Allowing the users to modify the polling rate from between 50ms and
up to 60 seconds improves power saving by preventing cores from being
awoken multiple times a second when it isn't needed.
2020-04-15 23:30:47 +00:00