Next: currentTime, Previous: startTime, Up: Times
return the time elapsed
#include <suplib/times.h>Time *elapsedTime(Time *start);
Time *start
- the start time from which to determine the elapsed time
elapsedTime
determines the difference in time between the
current user, system and clock times and either a passed Time
structure, or the internal Time
structure initialized by
startTime
(if the passed pointer start
is NULL
).
It returns a pointer to an internal Time
structure containing
the difference in times. This structure is private to elapsedTime
and will be overwritten by subsequent calls to it.
It returns NULL upon error.
Diab Jerius