News for hackers. Stuff that matters.
Re:gettimeofday() should never be used to measure time by toast0 on Sunday January 18, 2015 @11:24PM (#8910309)
for debian based embedded systems, the fake-hwclock package is helpful here (it's a script to periodically save the current time, and restore on boot). You'll still have big jumps after a power loss, but probably not years. It's also helpful in case you ever change the motherboard on a regular system with a RTC.
Re:gettimeofday() should never be used to measure time by cperciva on Sunday January 18, 2015 @11:27PM (#8910319)
Many embedded systems don't have any writable durable storage.