Messages in this thread | | | Date | Mon, 19 Sep 2005 16:39:11 -0600 | From | "Christopher Friesen" <> | Subject | Re: [ANNOUNCE] ktimers subsystem |
| |
Thomas Gleixner wrote:
> We should rather ask glibc people why gettimeofday() / clock_getttime() > is called inside the library code all over the place for non obvious > reasons.
From an app point of view, there are any number of reasons to check the time frequently.
--debugging --flight-recorder style logs --if you've got timers in your application, you may want to check to make sure that you didn't get woken up early (the linux behaviour of returning unused time in select is not portable) --the app might be tracking it's own behaviour, measuring how long code paths take for its own accounting purposes --emulators (vmware, UML, etc.) often want to check the time quite frequently
Chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |