Table of Contents

Name

fasttime_getstatistics - get statistics on the fasttime library's calibration

Synopsis

#include <fasttime.h>

int fasttime_getstatistics(fasttime_context_t context, fasttime_statistics_t * stats);

Description

Fills in the fasttime_statistics_t structure pointed to by stats with the most recent statistics from the calibration engine (regardless of whether it is running in the daemon or a client thread). See fasttime.h header for details on the structure members.

Return Values

Returns 0 on success, or -1 if no statistics are available.

Author

Alex Holkner (alex@partiallydisassembled.net)

Homepage

http://fasttime.sourceforge.net/

See Also

fasttime_create_context(3) fasttime_init_context(3) fasttime_gettimeofday(3) fasttime_getticks(3) fasttimed(8)


Table of Contents