Table of Contents

Name

qtimer_secs - calculate the elapsed time in seconds

Synopsis

#include <qthread/qtimer.h>

double
qtimer_secs (qtimer_t timer);

Description

This function calculates the elapsed time of the timer and returns that length as a double-precision value in the unit of seconds. The return value is undefined if the timer has not yet been both started and stopped, in that order.

See Also

qtimer_create(3) , qtimer_destroy(3) , qtimer_start(3) , qtimer_stop(3)


Table of Contents