real_time |
Discworld driver help |
real_time |
Name
real_time() - return the number of seconds since January 1, 1970
Synopsis
int real_time( void );
Description
Return the number of seconds since midnight (GMT) January 1, 1970.
Unlike time(), real_time() doesn't freeze while code is executing, so after a chunk of code has been executed, the difference real_time() - time() tells how many seconds the execution took.