pmonpsv
Vitis Drivers API Documentation
xpmonpsv.c File Reference

Functions

u32 XPmonPsv_CfgInitialize (XPmonPsv *InstancePtr, const XPmonPsv_Config *ConfigPtr, UINTPTR EffectiveAddr)
 This function initializes a specific XPmonPsv device/instance. More...
 
u32 XPmonPsv_ResetCounter (const XPmonPsv *InstancePtr, u32 Domain, u32 CounterNum)
 This function resets the specified counter. More...
 
u32 XPmonPsv_SetMetrics (const XPmonPsv *InstancePtr, u32 StatPeriod, u32 Domain, u32 CounterNum)
 This function sets Metrics for specified Counter in the corresponding Metric Selector Register. More...
 
u32 XPmonPsv_GetMetrics (const XPmonPsv *InstancePtr, u32 CounterNum, u8 *MainCtl, u8 *StatPeriod, u32 Domain)
 This function returns Metrics in the specified Counter from the corresponding Metric Selector Register. More...
 
u32 XPmonPsv_GetWriteCounter (const XPmonPsv *InstancePtr, u32 *WriteRequestValue, u32 *WriteRespValue, u32 Domain, u32 CounterNum)
 This function returns the contents of the Write response and request Counter Register. More...
 
u32 XPmonPsv_RequestCounter (XPmonPsv *InstancePtr, u32 Domain, u32 *CounterNum)
 This function returns success if a free counter was found and request was granted. More...
 
u32 XPmonPsv_GetReadCounter (const XPmonPsv *InstancePtr, u32 *ReadRequestValue, u32 *ReadRespValue, u32 Domain, u32 CounterNum)
 This function returns the contents of the Read response and request Counter Register. More...
 
u32 XPmonPsv_EnableCounters (const XPmonPsv *InstancePtr, u32 Domain, u32 CounterNum)
 This function enables the following in the Performance Monitor: More...
 
void XPmonPsv_Unlock (const XPmonPsv *InstancePtr)
 This function unlocks the PmonPsv. More...
 
void XPmonPsv_Lock (const XPmonPsv *InstancePtr)
 This function locks the PmonPsv. More...
 
u32 XPmonPsv_StopCounter (const XPmonPsv *InstancePtr, u32 Domain, u32 CounterNum)
 This function disables the following in the Performance Monitor: More...
 
u32 XPmonPsv_SetSrc (const XPmonPsv *InstancePtr, u32 SrcSel, u32 Domain, u32 CounterNum)
 This function selects the Source to be monitored. More...
 
u32 XPmonPsv_SetPort (const XPmonPsv *InstancePtr, u32 PortSel, u32 Domain, u32 CounterNum)
 This function selects the Port to be monitored. More...