> /proc/uptime is much simplier :-)

and it's even monotonic...and...fast.
(date +%s can jump into future and past)

> > read t1 trash </proc/uptime
> > do_something()
> > read t2 trash </proc/uptime

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to