|
|
udi_time_t(3udi)
Time value structure
#include <udi.h>typedef struct {
udi_ubit32_t seconds;
udi_ubit32_t nanoseconds;
} udi_time_t;MEMBERS seconds is the number of seconds of time.
nanoseconds is the number of additional nanoseconds of time. Thus nanoseconds ranges from zero to one less than one thousand million (10^9) nanoseconds.
DESCRIPTION The udi_time_t structure is used to specify a timeout interval for use with the UDI Timer Services or an elapsed time interval returned by UDI Timestamp Services. The fields in this structure allow very precise specification of time values relative to the current time; the udi_limits_t values should be consulted to determine the actual granularity of the environment's timers, as all specified udi_time_t values will be rounded up to integral multiples of the minimum system timer resolution.
This structure is not used to represent absolute ("wall-clock") times. UDI provides no facility to determine absolute time.