NAME | SYNOPSIS | API RESTRICTIONS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO
#include <vtimer/chVtimer.h>int virtualTimeGetRes(KnTimeVal *resolution);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
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 | API RESTRICTIONS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO