Re: Uptime question

2023-11-23 Thread Bruno Haible
> I actually thought something like the CLOCK_MONOTONIC or CLOCK_BOOTTIME were > used for providing uptime to the user, but those do not allow date changes. You are assuming a certain implementation, and then thinking what properties the program "must" have. Try thinking the other way around: Wha

Uptime question

2023-11-21 Thread yocto
Hi Sorry for what seems like a newbie question; I could not find a good explanation in the FAQ. commit d8cfa5db49641f39b63aba2037c6a9e6bd95c0e0 Changed the way uptime works, and in the commit message it is written that: "Don't read /proc/uptime, because the value it provides does not change when