Hello, everyone. I'm learning gem5's TimingSimpleCPU model, and I found out that in its parent class BaseCPU there exists a statistics::Scalar numCycles variable used to keep track of the CPU clock cycles throughout the simulation, I'm interested in this and would be interested to know how this statistics is calculated. I tried to set a watchpoint on it with gdb, but the structure of the Scalar class is too complex to set the watchpoint directly on the numCycles object. I would like to know if there is any way to set a watchpoint on numCycles? Or is there any other way to show how the numCycles are changing and tell me who is causing the numCycles to change?
Thanks Yibo Zhang
_______________________________________________ gem5-dev mailing list -- gem5-dev@gem5.org To unsubscribe send an email to gem5-dev-le...@gem5.org