SampleSystemTimeTV

Samples the system time with very low overhead.

Synopsis

void SampleSystemTimeTV( TimeVal *time )

Description

This function records the current system time in the supplied TimeVal structure. This is a very low overhead call giving a very high-accuracy timing.

The time value returned by this function corresponds to the time maintained by the TIMERUNIT_USEC unit of the timer device.

Arguments

time
A pointer to a TimeVal structure which will receive the current system time.

Implementation

Convenience call implemented in clib.lib V24.

Associated Files

time.h
ANSI C Prototype
clib.lib
ARM Link Library

See Also

SampleSystemTime()