1.5.4.4 Library Interface

The PRIME Time Management service library provides the following interfaces:

Table 1-23. Functions
NameDescription
SRV_TIME_MANAGEMENT_GetTimeUS64Gets the value of a counter and converts it to a 64 bit variable in microseconds
SRV_TIME_MANAGEMENT_GetTimeUSGets 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_CountToUSConverts a given time in cycles and returns the equivalent value in microseconds
SRV_TIME_MANAGEMENT_CbRegisterUSRegisters 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_CbRegisterMSRegisters a function with the time system service to be called back when the requested number of microseconds have expired (either once or repeatedly)