How to detect if getMillisecondCounterHiRes() is off?

I ran into a weird issue on a users machine where, after some debugging, it appeared that
getMillisecondCounterHiRes() values were way off. Restarting the machine fixed this issue, he told me that he hadn’t rebooted in weeks, so I’m guessing it had been long enough that maybe the double returned by the method rolled over? I’m not exactly sure what the value was at but I use the timer in quite a few situations so when that issue pops up it’s definitely problematic.

My question: I’m curious if anyone has any ideas on how to detect if something like this would happen so that I can show an appropriate error in the UI? I can’t seem to come up with any ideas for this… I’m often grabbing the current time and checking the delta in a timer callback to do actions after 1 or 2 seconds so when it’s off certain events won’t fire; it’s definitely something I want to monitor for.