Re: [gem5-users] How to run SE on multicores to speedup simulation ?

2019-09-02 Thread Jason Lowe-Power
Hi all, Just to add on to what everyone else has said. While gem5 is single threaded, the common use case is to run many different experiments with gem5 (e.g., many workloads, many system configurations). Therefore, commonly, you can use all of your cores by running many different gem5 instances.

Re: [gem5-users] how to define combined debug flags.

2019-09-02 Thread yuan
Hi, Francisco Carlos, Thanks. This is exactly the piece of code I want look into. Thank you so much. Best regards. Yuan Sent from Mail for Windows 10 From: Francisco Carlos Sent: Monday, September 2, 2019 10:54 AM To: gem5 users mailing list Subject: Re: [gem5-users] how to define combined deb

Re: [gem5-users] how to define combined debug flags.

2019-09-02 Thread Francisco Carlos
Hi, Yuan You can see the compund flags definition in the SConscript files. Here follows an example how you can define your own compound flags CompoundFlag('ExecAll', [ 'ExecEnable', 'ExecCPSeq', 'ExecEffAddr', 'ExecFaulting', 'ExecFetchSeq', 'ExecOpClass', 'ExecRegDelta', 'ExecResult', '

Re: [gem5-users] how to define combined debug flags.

2019-09-02 Thread yuan
Hi, Francisco, Yes, this is exactly what I want to do. Thank you so much. But I noticed that with --debug-help, there is some compound flags in the simulator, and I tried to use grep command to find where they were implemented but find nothing. So I am wondering how can we define a compound fla

Re: [gem5-users] how to define combined debug flags.

2019-09-02 Thread Francisco Carlos
Hi Yuan, You can use, for example: ./build/x86/gem5.opt --debug-flag=Fetch,Decode --debug-file=debug.out. This command will show prints from both flags. So you just change Fetch and Decode flag to your debugs flags. I don't know if i understand your question. --

[gem5-users] how to define combined debug flags.

2019-09-02 Thread yuan
Hi, all, I am trying to combined different user-defined debug flags in my modeling. We know that in learning-gem5 book by Dr.Jason Lowe-Power, there is tutorial tell us how to add single debugs flags by ourselves, but how can we define a combined debugs flags. I mean, I have several debugs fla