google / CFU-Playground

Want a faster ML processor? Do it yourself! -- A framework for playing with custom opcodes to accelerate TensorFlow Lite for Microcontrollers (TFLM). . . . . . Online tutorial: https://google.github.io/CFU-Playground/ For reference docs, see the link below.
http://cfu-playground.rtfd.io/
Apache License 2.0
452 stars 116 forks source link

How to enable perf_enable_counter(0) #816

Open ggangliu opened 3 months ago

ggangliu commented 3 months ago

Hi, I try to reproduce the example 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