axipmon
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Groups Pages
XAxiPmon_Config Struct Reference

This typedef contains configuration information for the AXI Performance Monitor device. More...

#include <xaxipmon.h>

Data Fields

char * Name
 Name of the device. More...
 
UINTPTR BaseAddress
 Device base address. More...
 
s32 GlobalClkCounterWidth
 Global Clock Counter Width. More...
 
s32 MetricSampleCounterWidth
 Metric Sample Counters Width. More...
 
u8 IsEventCount
 Event Count Enabled 1 - enabled 0 - not enabled. More...
 
u8 NumberofSlots
 Number of Monitor Slots. More...
 
u8 NumberofCounters
 Number of Counters. More...
 
u8 HaveSampledCounters
 Have Sampled Counters 1 - present 0 - Not present. More...
 
u8 IsEventLog
 Event Logging Enabled 1 - enabled 0 - Not enabled. More...
 
u32 FifoDepth
 Event Log FIFO Depth. More...
 
u32 FifoWidth
 Event Log FIFO Width. More...
 
u32 TidWidth
 Streaming Interface TID Width. More...
 
u8 ScaleFactor
 Event Count Scaling factor. More...
 
u8 ModeAdvanced
 Advanced Mode. More...
 
u8 ModeProfile
 Profile Mode. More...
 
u8 ModeTrace
 Trace Mode. More...
 
u8 Is32BitFiltering
 32 bit filtering enabled More...
 
u32 IntId
 Interrupt ID on GIC. More...
 
UINTPTR IntrParent
 Bit[0] Interrupt parent type Bit[64/32:1] Parent base address. More...
 

Detailed Description

This typedef contains configuration information for the AXI Performance Monitor device.

Field Documentation

u32 XAxiPmon_Config::FifoDepth

Event Log FIFO Depth.

Referenced by XAxiPmon_CfgInitialize().

u32 XAxiPmon_Config::FifoWidth

Event Log FIFO Width.

Referenced by XAxiPmon_CfgInitialize().

s32 XAxiPmon_Config::GlobalClkCounterWidth

Global Clock Counter Width.

Referenced by XAxiPmon_CfgInitialize(), and XAxiPmon_GetGlobalClkCounter().

u8 XAxiPmon_Config::HaveSampledCounters

Have Sampled Counters 1 - present 0 - Not present.

Referenced by XAxiPmon_CfgInitialize(), XAxiPmon_GetSampledIncrementer(), and XAxiPmon_GetSampledMetricCounter().

u32 XAxiPmon_Config::IntId

Interrupt ID on GIC.

Referenced by AxiPmonInterruptExample(), and XAxiPmon_CfgInitialize().

UINTPTR XAxiPmon_Config::IntrParent

Bit[0] Interrupt parent type Bit[64/32:1] Parent base address.

Referenced by AxiPmonInterruptExample(), and XAxiPmon_CfgInitialize().

u8 XAxiPmon_Config::IsEventLog

Event Logging Enabled 1 - enabled 0 - Not enabled.

Referenced by XAxiPmon_CfgInitialize(), XAxiPmon_EnableEventLog(), XAxiPmon_ResetFifo(), XAxiPmon_StartEventLog(), and XAxiPmon_StopEventLog().

s32 XAxiPmon_Config::MetricSampleCounterWidth

Metric Sample Counters Width.

Referenced by XAxiPmon_CfgInitialize().

u8 XAxiPmon_Config::ModeAdvanced

Advanced Mode.

Referenced by XAxiPmon_CfgInitialize().

u8 XAxiPmon_Config::ModeProfile

Profile Mode.

Referenced by XAxiPmon_CfgInitialize().

u8 XAxiPmon_Config::ModeTrace

Trace Mode.

Referenced by XAxiPmon_CfgInitialize().

char* XAxiPmon_Config::Name

Name of the device.

Referenced by XAxiPmon_LookupConfig().

u8 XAxiPmon_Config::NumberofCounters

Number of Counters.

Referenced by XAxiPmon_CfgInitialize().

u8 XAxiPmon_Config::NumberofSlots

Number of Monitor Slots.

Referenced by XAxiPmon_CfgInitialize().

u8 XAxiPmon_Config::ScaleFactor

Event Count Scaling factor.

Referenced by XAxiPmon_CfgInitialize().

u32 XAxiPmon_Config::TidWidth

Streaming Interface TID Width.

Referenced by XAxiPmon_CfgInitialize().