On Saturday 18 July 2009, kama wrote:
> Looking at a strace of hldm, it does both gettimeofday() and adjtime().
> So they read the system epoch time.

Maybe adding an option for this could be an idea?

int clock_gettime(clockid_t clk_id, struct timespec *tp);
CLOCK_MONOTONIC_RAW (since Linux 2.6.28; Linux-specific)
  Similar to CLOCK_MONOTONIC, but provides access to a  raw  hard‐
  ware-based time that is not subject to NTP adjustments.

--
cnu

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to