Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.227

Navigation: Plugins > Architecture-specific plugins > Cortex-R

Scroll Prev Top Next More

PMU

The Performance Monitor Unit (PMU) core plugin displays available performance monitors. These enable you to gather various statistics on the operation of the core and its memory system during runtime; and provide useful information about behavior of the processor that you can use when debugging or profiling code.

 

The PMU provides a cycle counter and event counters. Each event counter can typically count any of the events in the core. The available events include the architecturally required events (e.g. instructions, data cache hit rate,…), some of the common events (counting types of instruction e.g. branch and load/store), and events for counting different types of errors.

 

Cortex-R PMU supports the following cores: R4, R5, R7, R52.

 

The plugin can be loaded by selecting View / [<device>.COREn].Cortex-R / PMU. Information is displayed when a debug connection is established.

Corter.-r-pmu

 

 

Toolbar

Icon

Description

AurixpluginRCU1

Enable automatic update which is indicated by a [Rt] in the plugin title, e.g. CORE0.Cortex-R/PMU [Rt]

HWtoolsPlugin-rh850timePerformance-refresh

Manual refresh

Plugin-tricore-reset

Reset Counters

PluginOptionbutton

Options

ButtonHelp

Go to winIDEA Help  

 

 

Status row

Status row displays the current read status.

 

 

Columns information

Columns display counter values, selected events, configured ratio and ratio values.

 

i-icon

To display or hide columns, right-click on a column header and select what you want to see.

 

 

Context menu

Right-click in the plugin window to open the context menu.

Copy Python access snippet - Copy SDK code snippet to extract the content from the plugin window.

Auto Fit - Arrange all the columns to fit in the plugin window.

Options - Set colors and fonts.

Help - Open winIDEA Help.

 

 

Configuration

In the Options dialog you can configure Event Counters and Cycle Counter.

 

Cortex-r-pmu-options

Enabled - Enable the PMU unit.

Event Counter check box  - Enable and configure selected Event Counter.

 

Cycle counter

Clock divider - Check to enable the Cycle divider.

Long cycle counter  - Check to enable the Long cycle counter

Do not count - Not counting in selected CPU modes.

 

Event Counter dialog

Do not count - Not counting in selected CPU modes.

 

Event - Select an event.

 

Ratio  - Select the ratio between:

Event Counter n (ECn) and Cycle Counter (CC)

Event Counter n (ECn) and Event Counter n (ECn)

Copyright © 2024 TASKING Germany GmbH