berthubert / galmon

galileo open source monitoring
GNU General Public License v3.0
200 stars 53 forks source link

ubxtool.cc: Use monotonic clock for uptime calculation. #109

Closed philcrump closed 3 years ago

philcrump commented 4 years ago

Uses monotonic clock for uploaded uptime calculation to fix #108 .

There are other areas where a non-monotonic clock is used to trigger the output of display messages, resulting in extra messages when the clock jumps, however this wasn't included in the fix as in that case no incorrect data is displayed.