[gem5-users] Build gem5 on macOS

2019-10-23 Thread Tom Ray
I have downloaded the gem5-master from the github, and want to build the gem5 on macos. However, it's not successfully built. The error is as follows: #+BEGIN_SRC error_log $ scons build/ARM/gem5.opt -j2 scons: Reading SConscript files ... Warning: Protocol buffer compiler (protoc)

Re: [gem5-users] Printing stats in ROI

2019-10-23 Thread Prathap Kolakkampadath
Why don't you use existing m5_ pseudo instructions around ROI of the benchmark. Note to compile your benchmark with the m5 library. If you are looking for more data, you may also add them in respective mem/cache file and compile the gem. Regards, Prathap On Wed, Oct 23, 2019 at 4:41 PM Victor

[gem5-users] Printing stats in ROI

2019-10-23 Thread Victor Kariofillis
Hi, I have implemented pseudo instructions for recognizing the Region of Interest of the benchmarks that I am running. What I want to do is to start printing some information (cache data) to a file as soon as the ROI begins. This printing will be done through the base.cc file in mem/cache. I

Re: [gem5-users] How to collect stats from my benchmark on FS mode

2019-10-23 Thread Iago .
Also I forgot to ask on the last message but could you specify which init script youre talking about and where i would put m5 checkpoint; m5 readfile | sh . The reason I worry is because testing from checkpoints made with hack_back_ckpt the results were very insconsistent running my control

Re: [gem5-users] How to collect stats from my benchmark on FS mode

2019-10-23 Thread Ciro Santilli
On Wed, Oct 23, 2019 at 7:37 PM Iago . wrote: > > Sorry to ask but is there any reason to do it in the init script, isnt the > results of the control algorithm performance benchmark going to be affected > by the system still booting up? You'd have to study your system to understand if the init

[gem5-users] Difference in results using hack_back_ckpt.rcS or manual checkpoint

2019-10-23 Thread Iago .
I am trying to determine control algorithms for an UAV performances using gem5 and have a question regarding the scripts. I have tried running my pre cross-compiled control binary in two different ways: 1ยบ: -Launching the gem5 simulation and waiting for terminal input -creating a manual

Re: [gem5-users] How to collect stats from my benchmark on FS mode

2019-10-23 Thread Iago .
Sorry to ask but is there any reason to do it in the init script, isnt the results of the control algorithm performance benchmark going to be affected by the system still booting up? Also, i have sucessfully created a checkpoint on the simulation right after the terminal shows

Re: [gem5-users] How to collect stats from my benchmark on FS mode

2019-10-23 Thread Ciro Santilli
In summary: - run your benchmark from the init executable - to run a single benchmark with different parameters without rebooting, do in your init script: "m5 checkpoint; m5 readfile | sh". This is what the "configs/boot/hack_back_ckpt.rcS" but I think that script is overly complicated. - to