NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO
#include <vtimer/chVtimer.h>int virtualTimeGetRes(KnTimeVal *resolution);
VTIMER
The virtualTimeGetRes function obtains the resolution of virtual time specifications and returned values in the threadTimes(2K) and svVirtualTimeoutSet(2K). The time value returned in resolution represents the smallest possible difference between the two distinct virtual time values.
Upon successful completion a value of 0 is returned. Otherwise, a negative error code is returned.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO