Greetings,
I am wondering what happens when a KFlop is left on for a very long time. Specifically, does the function Time_sec() run into any problems. For example, lets say a machine hasnt been rebooted for several months. Will this function max out when it runs out of memory? Is there a way to zero it out again without rebooting the machine?
Thanks,
Scott
System Time
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2741
- Joined: Mon Dec 04, 2017 1:49 am
Re: System Time
Hi Scott,
That shouldn’t be an issue. Time_sec() is a double precision floating point value with 52 bits of precision (more than 16 digits). And so will still be accurate to a microsecond after a hundred years. Counting doesn’t consume memory.
That shouldn’t be an issue. Time_sec() is a double precision floating point value with 52 bits of precision (more than 16 digits). And so will still be accurate to a microsecond after a hundred years. Counting doesn’t consume memory.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
- TomKerekes
- Posts: 2741
- Joined: Mon Dec 04, 2017 1:49 am
Re: System Time
Yes, double precision avoids so many nasty issues. 

Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.