chipsalliance / t1

Apache License 2.0
112 stars 21 forks source link

Print perf result at the end of simulation #761

Closed FanShupei closed 1 month ago

FanShupei commented 1 month ago

Now t1/t1rocket will generate a perf.json at the end of simulation, currently only contains the number of total cycle numbers.

Here is the example of nix build .#t1.t1rocket.ip.vcs-emu.cases.codegen.vadd_vv.emu-result, in result/perf.json

{
    "total_cycles": 32444
}