Arm Cortex-A9 Time Functions - 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

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