The HyperNews Linux KHG Discussion Pages

Note: CURRENT_TIME should be included

Forum: Supporting Functions
Keywords: time CURRENT_TIME do_gettimeofday
Date: Mon, 12 Jan 1998 17:39:02 GMT
From: Anthony Toft <atoft@mdi.com>

CURRENT_TIME is a macro/function that return the current time in seconds from 01/01/70 (much like gettimeofday())

To increase the clock resolution use do_gettimeofday() and it uses a stuct timeval which has microseconds in it.