Detailed ddr bandwidth metric sets#86
Merged
jvillarre merged 3 commits intoJun 23, 2026
Merged
Conversation
… metric sets for AIE dtrace Add two VE2 aie_dtrace interface-tile metric sets that program 4 shim performance counters with direct NoC0 DMA events for a single MM2S/S2MM channel selected via the metric's ":<channel>" suffix: PC0 start_task -> finished_task, PC1 stalled_lock, PC2 starvation, PC3 backpressure. - getInterfaceTiles: match the new metric names so interface tiles get configured - aie_profile_metadata: accept the names in dtrace bandwidth mode - CT writer: generate per-channel DMA-event counter config (no stream-switch port selection) and thread the channel through - aie_dtrace_ve2: pass the configured channel to the CT writer Co-authored-by: Cursor <cursoragent@cursor.com>
…andwidth Performance counter 0 for detailed_ddr_read_bandwidth and detailed_ddr_write_bandwidth now measures PORT_RUNNING_0 on the channel's stream-switch port instead of start_task -> finished_task. - getBandwidthCounterConfigs: counter 0 eventType "running" with the DMA stream-switch port index for the selected channel/direction - generatePerfCounterConfig: PC0 start/stop = PORT_RUNNING_0_PL - generateStreamSwitchPortConfig: route logical SS port 0 to the channel's DMA port (add channel param); no longer skipped for detailed sets Co-authored-by: Cursor <cursoragent@cursor.com>
…tadata For detailed_ddr_*_bandwidth, counter 2 and 3 event labels now encode the memory- vs stream-side so the generated CT counter metadata "event" field is unambiguous: detailed_ddr_read_bandwidth (MM2S): memory_starvation, stream_backpressure detailed_ddr_write_bandwidth (S2MM): stream_starvation, memory_backpressure Co-authored-by: Cursor <cursoragent@cursor.com>
jvillarre
approved these changes
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.