Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

一个想法:把PerfCCT的功能融入到XSPdb中 #4

@tastynoob

Description

@tastynoob

PerfCCT(位于Utility仓库的ChiselPerfCCT.scala中)是一个指令级细粒度的trace
它可以单独记录每条指令所产生的事件或计数器,目前它能够记录一条指令完整的生命周期
下面是样例:
Image
XSPdb目前看起来类似于“把EMU当NEMU用”,仍然只关注寄存器信息
若是能够将PerfCCT与XSPdb结合,那么当一条指令提交后
不光可以看到寄存器值的变化,还能直观的看到指令的执行过程
未来PerfCCT会做诸多拓展,以记录更加详细的微架构信息
若是能够与XSPdb结合,未来也许能够做一些性能调试和debug工作

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions