Skip to content

fix(XSPerfAccumulate): fix compilation error from #140#142

Merged
Yan-Muzi merged 1 commit intomasterfrom
fix-perfcounter
Mar 30, 2026
Merged

fix(XSPerfAccumulate): fix compilation error from #140#142
Yan-Muzi merged 1 commit intomasterfrom
fix-perfcounter

Conversation

@ngc7331
Copy link
Copy Markdown
Member

@ngc7331 ngc7331 commented Mar 30, 2026

Error: [697] [error] /nfs/home/cirunner/ci-runner-xs/xs-builder-node030-2/_work/XiangShan/XiangShan/utility/src/main/scala/utility/PerfCounterUtils.scala:59:8: in object XSPerfAccumulate, multiple overloaded alternatives of method apply define default arguments.
Error: [697] [error] object XSPerfAccumulate extends HasRegularPerfName with XSLogTap {
Error: [697] [error]        ^
Error: [697] [error] one error found

scala does not allow overload with default argument, not sure why this works before.

Also merge XSPerfPriorityAccumulate to XSPerfSeqAccumulate as a parameter withPriority

@ngc7331 ngc7331 requested a review from Yan-Muzi March 30, 2026 04:08
```
Error: [697] [error] /nfs/home/cirunner/ci-runner-xs/xs-builder-node030-2/_work/XiangShan/XiangShan/utility/src/main/scala/utility/PerfCounterUtils.scala:59:8: in object XSPerfAccumulate, multiple overloaded alternatives of method apply define default arguments.
Error: [697] [error] object XSPerfAccumulate extends HasRegularPerfName with XSLogTap {
Error: [697] [error]        ^
Error: [697] [error] one error found
```

scala does not allow overload with default argument, not sure why this works before.

Also merge XSPerfPriorityAccumulate to XSPerfSeqAccumulate as a parameter `withPriority`

Signed-off-by: ngc7331 <ngc7331@outlook.com>
@Yan-Muzi Yan-Muzi merged commit 0afa3dc into master Mar 30, 2026
1 check passed
@Yan-Muzi Yan-Muzi deleted the fix-perfcounter branch March 30, 2026 04:25
ngc7331 added a commit to OpenXiangShan/XiangShan that referenced this pull request Mar 30, 2026
rich-cake pushed a commit to OpenXiangShan/XiangShan that referenced this pull request Mar 30, 2026
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.

2 participants