#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <signal.h>
#include "dtime.h"
Functions | |
double | dtime () |
void | dalarm (double time) |
void | dsleep (double time) |
timeval | dtotv (double d) |
double | tvtod (struct timeval tv) |
|
dalarm: generates a SIGALRM signal in time# seconds |
|
dalarm: sleeps for time# seconds |
|
dtime: returns the time of day in double format with microsecond precision |
|
dtotv: returns the struct timeval representation of double d# |
|
tvtod: returns the double representation of timeval tv# |