fast/syscall-free gettimeofday ?

From: Luigi Rizzo <rizzo_at_iet.unipi.it>
Date: Tue, 14 Jun 2011 18:11:05 +0200
there were discussions at some point on an imprecise but
fast implementations of gettimeofday() that would not require
a system call (perhaps mmapping some memory region which
is opportunistically updated).

Does anyone remember what happened about that ?

Otherwise, is there any place in the kernel where i can fetch
a struct timeval which is not off by more than, say 1 tick ?

cheers
luigi
Received on Tue Jun 14 2011 - 13:54:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC