[gem5-users] Confusions on the checkpoint and run benchmarks on fs

2021-11-22 Thread Zhang via gem5-users
Hi everyone, Because I am new to the gem5, maybe some confusions need your generous help. I followed the instrucitons according to the www.gem5.org, now I maybe know how to run a fs simulation. I use the 20.0.0.3 gem5, I also test the latest version and the 19 version, but I have encounter

[gem5-users] Re: Gem5 stuck when simulate C++ workload in SE mode

2021-11-22 Thread Victor Kariofillis via gem5-users
Hi Gabriel, I've followed the instructions you have provided but I'm still getting the same numbers on every gem5 run. The changes I made to se.py are the following. + from _m5.core import seedRandom seedRandom(int()) I'm producing random numbers in my program by seeding srand with time srand

[gem5-users] Re: Problem with checkpoint and restoration in gem5 se mode

2021-11-22 Thread Giacomo Travaglini via gem5-users
Hi Gelin, Are you compiling gem5 in debug mode? You can do that by using “debug” instead of “opt”: $scons build/ARM/gem5.debug -j`nproc` Kind Regards Giacomo From: Gelin Fu via gem5-users Date: Monday, 22 November 2021 at 12:26 To: gem5-users@gem5.org Cc: Gelin Fu <20153...@cqu.edu.cn>

[gem5-users] Re: Problem with checkpoint and restoration in gem5 se mode

2021-11-22 Thread Gelin Fu via gem5-users
Hi, Giacomo.Thanks for your reply. I am not familiar with gdb in se mode. So I try to use debug functions such as curTick() and eventqDump(). But gdb tells me that there is no symbol about eventqDump() and curTick. So I only use backtrace when the program aborted. I am using the command as

[gem5-users] Re: Basic question on gem5 configuration script for multi-threaded workload

2021-11-22 Thread Gabe Black via gem5-users
Hi Sachin. Without looking at the output, this sounds like a null pointer to a structure or object within your workload, where the thing within being accessed is at offset 0x14 from the start of the struct/object. You can use GDB to debug code within gem5 using the remote GDB stub: