On Mon May 19 13:17:59 EDT 2014, lu...@proxima.alt.za wrote: > > also, one cannot get close to 1ns precision with a system call. a system > > call > > takes a bare minimum of 400-500ns on 386/amd64. > > Sure, but accessing /dev/time is, if I guess right, orders of > magnitude slower, specially if you have to open the device first.
the full operation open/read/close/convert takes 6µs on my machine, and a system call takes about 750ns. getting the kitchen time should not need better than 6µs. if this were relative timing, i would understand, but it's not. - erik