Xpm_SleepPerfCounter - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 English

This is helper function used by sleep/usleep APIs to generate delay in sec/usec.

Prototype

void Xpm_SleepPerfCounter(u32 delay, u64 frequency);

Parameters

The following table lists the Xpm_SleepPerfCounter function arguments.

Table 1. Xpm_SleepPerfCounter Arguments
Name Description
delay - delay time in sec/usec
frequency - Number of countes in second/micro second

Returns

None.