[gem5-users] Re: Use xbar stat in BaseCPU

2021-10-22 Thread Victor Kariofillis via gem5-users
"I would suggest computing any and all formulas after running the simulation, not during the simulation loop." I'd be ok with that since I have the variable values that I need. Is that, however, achievable only through Python or can I do this computation through C++ at the end of the simulation?

[gem5-users] Re: Use xbar stat in BaseCPU

2021-10-22 Thread Jason Lowe-Power via gem5-users
Hi Victor, It's not super easy to access stats between SimObjects. I would suggest computing any and all formulas after running the simulation, not during the simulation loop. You can either parse the stats.txt or use the new python stats interface (