pmonpsv
Xilinx SDK Drivers API Documentation
xpmonpsv.h File Reference

Data Structures

struct  XPmonpsv_Config
 This typedef contains configuration information for the Performance Monitor device. More...
 
struct  XpsvPmon
 The driver's instance data. More...
 

Functions

XPmonpsv_ConfigXpsvPmon_LookupConfig (u16 DeviceId)
 Functions in xpmonpsv_sinit.c. More...
 
s32 XpsvPmon_CfgInitialize (XpsvPmon *InstancePtr, const XPmonpsv_Config *ConfigPtr, UINTPTR EffectiveAddr)
 This function initializes a specific XpsvPmon device/instance. More...
 
u32 XpsvPmon_ResetCounter (const XpsvPmon *InstancePtr, u32 Domain, u32 CounterNum)
 This function resets the specified counter. More...
 
u32 XpsvPmon_SetMetrics (const XpsvPmon *InstancePtr, u32 StatPeriod, u32 Domain, u32 CounterNum)
 This function sets Metrics for specified Counter in the corresponding Metric Selector Register. More...
 
s32 XpsvPmon_GetMetrics (const XpsvPmon *InstancePtr, u32 CounterNum, u8 *MainCtl, u8 *StatPeriod, u32 Domain)
 This function returns Metrics in the specified Counter from the corresponding Metric Selector Register. More...
 
s32 XpsvPmon_RequestCounter (XpsvPmon *InstancePtr, u32 Domain, u32 *CounterNum)
 This function returns success if a free counter was found and request was granted. More...
 
s32 XpsvPmon_GetWriteCounter (const XpsvPmon *InstancePtr, u32 *WriteRequestValue, u32 *WriteRespValue, u32 Domain, u32 CounterNum)
 This function returns the contents of the Write response and request Counter Register. More...
 
s32 XpsvPmon_GetReadCounter (const XpsvPmon *InstancePtr, u32 *ReadRequestValue, u32 *ReadRespValue, u32 Domain, u32 CounterNum)
 This function returns the contents of the Read response and request Counter Register. More...
 
s32 XpsvPmon_EnableCounters (const XpsvPmon *InstancePtr, u32 Domain, u32 CounterNum)
 This function enables the following in the Performance Monitor: More...
 
s32 XpsvPmon_StopCounter (const XpsvPmon *InstancePtr, u32 Domain, u32 CounterNum)
 This function disables the following in the Performance Monitor: More...
 
s32 XpsvPmon_SetPort (const XpsvPmon *InstancePtr, u32 PortSel, u32 Domain, u32 CounterNum)
 This function selects the Port to be monitored. More...
 
s32 XpsvPmon_SetSrc (const XpsvPmon *InstancePtr, u32 SrcSel, u32 Domain, u32 CounterNum)
 This function selects the Source to be monitored. More...
 
s32 XpsvPmon_Unlock (const XpsvPmon *InstancePtr)
 This function unlocks the Pmonpsv. More...
 
s32 XpsvPmon_Lock (const XpsvPmon *InstancePtr)
 This function locks the Pmonpsv. More...