axipmon
Vitis Drivers API Documentation
xaxipmon.c File Reference

Functions

s32 XAxiPmon_CfgInitialize (XAxiPmon *InstancePtr, XAxiPmon_Config *ConfigPtr, UINTPTR EffectiveAddr)
 This function initializes a specific XAxiPmon device/instance. More...
 
s32 XAxiPmon_ResetMetricCounter (XAxiPmon *InstancePtr)
 This function resets all Metric Counters and Sampled Metric Counters of AXI Performance Monitor. More...
 
void XAxiPmon_ResetGlobalClkCounter (XAxiPmon *InstancePtr)
 This function resets Global Clock Counter of AXI Performance Monitor. More...
 
s32 XAxiPmon_ResetFifo (XAxiPmon *InstancePtr)
 This function resets Streaming FIFO of AXI Performance Monitor. More...
 
void XAxiPmon_SetIncrementerRange (XAxiPmon *InstancePtr, u8 IncrementerNum, u16 RangeUpper, u16 RangeLower)
 This function sets Ranges for Incrementers depending on parameters passed. More...
 
void XAxiPmon_GetIncrementerRange (XAxiPmon *InstancePtr, u8 IncrementerNum, u16 *RangeUpper, u16 *RangeLower)
 This function returns the Ranges of Incrementers Registers. More...
 
void XAxiPmon_SetSampleInterval (XAxiPmon *InstancePtr, u32 SampleInterval)
 This function sets the Sample Interval Register. More...
 
void XAxiPmon_GetSampleInterval (XAxiPmon *InstancePtr, u32 *SampleInterval)
 This function returns the contents of Sample Interval Register. More...
 
s32 XAxiPmon_SetMetrics (XAxiPmon *InstancePtr, u8 Slot, u8 Metrics, u8 CounterNum)
 This function sets Metrics for specified Counter in the corresponding Metric Selector Register. More...
 
s32 XAxiPmon_GetMetrics (XAxiPmon *InstancePtr, u8 CounterNum, u8 *Metrics, u8 *Slot)
 This function returns Metrics in the specified Counter from the corresponding Metric Selector Register. More...
 
void XAxiPmon_GetGlobalClkCounter (XAxiPmon *InstancePtr, u32 *CntHighValue, u32 *CntLowValue)
 This function returns the contents of the Global Clock Counter Register. More...
 
u32 XAxiPmon_GetMetricCounter (XAxiPmon *InstancePtr, u32 CounterNum)
 This function returns the contents of the Metric Counter Register. More...
 
u32 XAxiPmon_GetSampledMetricCounter (XAxiPmon *InstancePtr, u32 CounterNum)
 This function returns the contents of the Sampled Metric Counter Register. More...
 
u32 XAxiPmon_GetIncrementer (XAxiPmon *InstancePtr, u32 IncrementerNum)
 This function returns the contents of the Incrementer Register. More...
 
u32 XAxiPmon_GetSampledIncrementer (XAxiPmon *InstancePtr, u32 IncrementerNum)
 This function returns the contents of the Sampled Incrementer Register. More...
 
void XAxiPmon_SetSwDataReg (XAxiPmon *InstancePtr, u32 SwData)
 This function sets Software-written Data Register. More...
 
u32 XAxiPmon_GetSwDataReg (XAxiPmon *InstancePtr)
 This function returns contents of Software-written Data Register. More...
 
s32 XAxiPmon_StartEventLog (XAxiPmon *InstancePtr, u32 FlagEnables)
 This function enables the following in the AXI Performance Monitor: More...
 
s32 XAxiPmon_StopEventLog (XAxiPmon *InstancePtr)
 This function disables the following in the AXI Performance Monitor: More...
 
s32 XAxiPmon_StartCounters (XAxiPmon *InstancePtr, u32 SampleInterval)
 This function enables the following in the AXI Performance Monitor: More...
 
s32 XAxiPmon_StopCounters (XAxiPmon *InstancePtr)
 This function disables the following in the AXI Performance Monitor: More...
 
void XAxiPmon_EnableMetricsCounter (XAxiPmon *InstancePtr)
 This function enables Metric Counters. More...
 
void XAxiPmon_DisableMetricsCounter (XAxiPmon *InstancePtr)
 This function disables the Metric Counters. More...
 
void XAxiPmon_SetLogEnableRanges (XAxiPmon *InstancePtr, u32 CounterNum, u16 RangeUpper, u16 RangeLower)
 This function sets the Upper and Lower Ranges for specified Metric Counter Log Enable Register.Event Logging starts when corresponding Metric Counter value falls in between these ranges. More...
 
void XAxiPmon_GetLogEnableRanges (XAxiPmon *InstancePtr, u32 CounterNum, u16 *RangeUpper, u16 *RangeLower)
 This function returns the Ranges of specified Metric Counter Log Enable Register. More...
 
void XAxiPmon_EnableEventLog (XAxiPmon *InstancePtr)
 This function enables Event Logging. More...
 
void XAxiPmon_EnableMetricCounterTrigger (XAxiPmon *InstancePtr)
 This function enables External trigger pulse so that Metric Counters can be started on external trigger pulse for a Slot. More...
 
void XAxiPmon_DisableMetricCounterTrigger (XAxiPmon *InstancePtr)
 This function disables the External trigger pulse used to start Metric Counters on external trigger pulse for a Slot. More...
 
void XAxiPmon_EnableEventLogTrigger (XAxiPmon *InstancePtr)
 This function enables External trigger pulse for Event Log so that Event Logging can be started on external trigger pulse for a Slot. More...
 
void XAxiPmon_DisableEventLogTrigger (XAxiPmon *InstancePtr)
 This function disables the External trigger pulse used to start Event Log on external trigger pulse for a Slot. More...
 
const char * XAxiPmon_GetMetricName (u8 Metrics)
 This function returns a name for a given Metric. More...
 
void XAxiPmon_SetWriteId (XAxiPmon *InstancePtr, u32 WriteId)
 This function sets Write ID in ID register. More...
 
void XAxiPmon_SetReadId (XAxiPmon *InstancePtr, u32 ReadId)
 This function sets Read ID in ID register. More...
 
u32 XAxiPmon_GetWriteId (XAxiPmon *InstancePtr)
 This function returns Write ID in ID register. More...
 
u32 XAxiPmon_GetReadId (XAxiPmon *InstancePtr)
 This function returns Read ID in ID register. More...
 
void XAxiPmon_SetWrLatencyStart (XAxiPmon *InstancePtr, u8 Param)
 This function sets Latency Start point to calculate write latency. More...
 
void XAxiPmon_SetWrLatencyEnd (XAxiPmon *InstancePtr, u8 Param)
 This function sets Latency End point to calculate write latency. More...
 
void XAxiPmon_SetRdLatencyStart (XAxiPmon *InstancePtr, u8 Param)
 This function sets Latency Start point to calculate read latency. More...
 
void XAxiPmon_SetRdLatencyEnd (XAxiPmon *InstancePtr, u8 Param)
 This function sets Latency End point to calculate read latency. More...
 
u8 XAxiPmon_GetWrLatencyStart (XAxiPmon *InstancePtr)
 This function returns Write Latency Start point. More...
 
u8 XAxiPmon_GetWrLatencyEnd (XAxiPmon *InstancePtr)
 This function returns Write Latency End point. More...
 
u8 XAxiPmon_GetRdLatencyStart (XAxiPmon *InstancePtr)
 This function returns read Latency Start point. More...
 
u8 XAxiPmon_GetRdLatencyEnd (XAxiPmon *InstancePtr)
 This function returns Read Latency End point. More...
 
void XAxiPmon_SetWriteIdMask (XAxiPmon *InstancePtr, u32 WrMask)
 This function sets Write ID Mask in ID Mask register. More...
 
void XAxiPmon_SetReadIdMask (XAxiPmon *InstancePtr, u32 RdMask)
 This function sets Read ID Mask in ID Mask register. More...
 
u32 XAxiPmon_GetWriteIdMask (XAxiPmon *InstancePtr)
 This function returns Write ID Mask in ID Mask register. More...
 
u32 XAxiPmon_GetReadIdMask (XAxiPmon *InstancePtr)
 This function returns Read ID Mask in ID Mask register. More...