google / google/CFU-Playground

How to enable perf_enable_counter(0)

Open
#816 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Verilog
Stars
565
Forks
160
PR merge metrics
No merged PRs in 30d

Description

Hi, I try to reproduce the [example](https://cfu-playground.readthedocs.io/en/latest/step-by-step.html#step-2-profile-and-identify-what-to-accelerate) in the step-by-step. But I cannot print out counter info. I found it need to define CONFIG_CPU_PERF_CSRS macro, but how to enable it ? or how to turn performance CSRs on ? Thanks for help

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.