1.5.4.4 Library Interface

The PRIME Time Management service library provides the following interfaces:

Table 1-23. Functions
NameDescription
SRV_TIME_MANAGEMENT_GetTimeUS64

Gets the value of a counter and converts it to a 64 bit variable in microseconds

SRV_TIME_MANAGEMENT_GetTimeUS

Gets the value of a counter and converts it to a 32 bit variable in microseconds

SRV_TIME_MANAGEMENT_USToCountConverts a given time to microseconds and returns the equivalent value in cycles
SRV_TIME_MANAGEMENT_CountToUS

Converts a given time in cycles and returns the equivalent value in microseconds

SRV_TIME_MANAGEMENT_CbRegisterUS

Registers a function with the time system service to be called back when the requested number of microseconds have expired (either once or repeatedly)

SRV_TIME_MANAGEMENT_CbRegisterMS

Registers a function with the time system service to be called back when the requested number of microseconds have expired (either once or repeatedly)