0

Does machine.reset start time.monotonic over
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Does machine.reset start time.monotonic over

by evgbrowns on Tue Dec 15, 2020 10:52 pm

I am also running into the issue cited multiple places where time.monotonic loses precision over time. I have times when I know the system will be idle that I hope I can use to address this.

My question is: if I call machine.reset does that 1) reload things so I'm back running again? and 2) reset time.monotonic so that my precision remains good. If, for example, I did this once/hour it seems like my precision would always be the same.

evgbrowns
 
Posts: 15
Joined: Sun Mar 22, 2020 9:53 pm

Re: Does machine.reset start time.monotonic over

by kevinjwalters on Tue Mar 02, 2021 9:00 am

This is being discussed over on time.monotonic() develops glitches on long runs.

kevinjwalters
 
Posts: 963
Joined: Sun Oct 01, 2017 3:15 pm

Please be positive and constructive with your questions and comments.


cron