Hacker News new | ask | show | jobs
by titzer 1925 days ago
On Linux and MacOS, gettimeofday is accurate to microseconds. Not only is the returned struct is expressed in microseconds, but I have personally observed that it is accurate to microseconds.