Arm Cortex-A9 Time Functions - 2022.1 English

Xilinx Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2022-04-21
Version
2022.1 English

xtime_l.h provides access to the 64-bit Global Counter in the PMU.

This counter increases by one at every two processor cycles. These functions can be used to get/set time in the global timer.

Table 1. Quick Function Reference
Type Name Arguments
void XTime_SetTime
  • XTime Xtime_Global
void XTime_GetTime
  • XTime * Xtime_Global