[gem5-users] 'm_stall_time' stat in MessageBuffer

2021-11-24 Thread Daecheol You via gem5-users
Hi all, I am curious about the way *m_stall_time* stat is calculated in MessageBuffer. The *m_stall_time* is declared as statistics::Average, and MessageBuffer set the *m_stall_time* with the duration from enqueue to dequeue. At first, I thought this works like below: if three messages passed

[gem5-users] Re: 'm_stall_time' stat in MessageBuffer

2021-11-24 Thread Gabriel Busnot via gem5-users
Hi Daecheol, I agree with you, m_stall_time calculation does not make much sens to me either. It is unreliable at best if you just look at its variations from one run to the next. And looking at it again, I think it is even bugged since the default copy constructor for Message has been added

[gem5-users] Introducing randomness to gem5

2021-11-24 Thread Victor Kariofillis via gem5-users
Hi, I have followed the instructions in the post below in order to introduce randomness between different runs of gem5. https://www.mail-archive.com/gem5-users@gem5.org/msg19749.html However, it does not seem to work. I'm producing random numbers in my program by seeding srand with time and

[gem5-users] M5OPS problems

2021-11-24 Thread Liyichao via gem5-users
Hi All: I added M5OPS pseudo-instructions to a core computing part of my program code, but I now have a problem with M5OPS_RESETSTATS once I execute M5OPS_RESETSTATS and then M5OPS_DUMPSTATS. In the dump result, only eight system.mem_ctrls statistics are printed (32 mem_ctrls are