[ILUG] [OT] C time_elapsed function

kevin lyda kevin at suberic.net
Tue Nov 6 18:30:59 GMT 2001


On Tue, Nov 06, 2001 at 05:54:37PM +0000, Padraig Brady wrote:
> I can't beleive there isn't a platform independent
> getSecondsSinceBoot() function, but can't find one.
> Please tell me I'm wrong.

ok, but i'd be lying.

> Note also that uptime in /proc/loadavg wraps after 472 days
> (32 bit jiffies). Is there a value anywhere that increments
> monotonically with second resolution?

this is being discussed in linux-kernel right now.  the answer is no.
what is this current fascination for constantly incrementing numbers?
what problem are you trying to solve?

kevin

-- 
kevin at suberic.net          "if you come from brooklyn you can handle just
fork()'ed on 37058400       about anything."  --nyc mayor, rudolph giuliani
meatspace place: home      
http://suberic.net/~kevin




More information about the ILUG mailing list