next up previous
Next: read_stopwatch_string() Up: Brain Volume I/O Handling Previous: start_stopwatch()

read_stopwatch()  

Read internal stopwatch



Synopsis


void
read_stopwatch(struct tms *t, time_t *realtime)


Description
Call this function to measure the time passed since the start_stopwatch() function was called.

Usage

Call start_stopwatch() before the task to time, and read_stopwatch() or read_stopwatch_string() to read the elapsed time.

Revision


1.0  29/10-96   Ulrik Kjems


Program listing






Ulrik Kjems
6/3/1998