Press S to start the chronometer... 00:00:01.47 00:00:01.47 LAP 00:00:02.19 00:00:00.72 LAP 00:00:03.29 00:00:01.10 LAP 00:00:04.08 00:00:00.79 LAP 00:00:05.18 00:00:01.10 STOP
NAME chrono - SYNOPSIS #include "chrono.h" int chrono(chr_command_t command, struct timeval *tv, struct timeval *lap); DESCRIPTION chrono is a chronometer command. tv is set to the current value. lap is set to the relative value since the latest LAP or START. command are: CHR_RESET initialize the chronometer CHR_START_STOP start/stop the chronometer CHR_LAP take the lap CHR_POLL take the current value CHR_RUNNING look if the chronometer is running RETURN VALUE chrono returns 0 if the chronometer is stopped and 1 if it is running.