Skip to content

feat(perf): add XSPerfSeqRolling#152

Merged
Yan-Muzi merged 1 commit into
masterfrom
add-XSPerfSeqRolling
Jul 6, 2026
Merged

feat(perf): add XSPerfSeqRolling#152
Yan-Muzi merged 1 commit into
masterfrom
add-XSPerfSeqRolling

Conversation

@TheKiteRunner24

@TheKiteRunner24 TheKiteRunner24 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

example:
image

Copilot AI review requested due to automatic review settings July 6, 2026 04:00
@TheKiteRunner24 TheKiteRunner24 requested a review from Yan-Muzi July 6, 2026 04:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a small utility wrapper to make it easier to instantiate multiple XSPerfRolling performance counters from a single Seq definition, sharing a common name prefix and gating valid.

Changes:

  • Introduces XSPerfSeqRolling to expand Seq[(String, Bool)] / Seq[(String, Bool, UInt)] into multiple XSPerfRolling instances.
  • Provides two overloads: cycle-based rolling (granularity) and event-triggered rolling (eventTrigger, granularity).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/main/scala/utility/PerfCounterUtils.scala Outdated
Comment thread src/main/scala/utility/PerfCounterUtils.scala
@TheKiteRunner24 TheKiteRunner24 requested a review from ngc7331 July 6, 2026 05:19
@Yan-Muzi Yan-Muzi merged commit 98a6e28 into master Jul 6, 2026
1 check passed
@Yan-Muzi Yan-Muzi deleted the add-XSPerfSeqRolling branch July 6, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants