[gem5-users] Gem5 Compile issue : Commit : e02ec0c24d56bce4a0d8636a340e15cd223d1930

2018-08-13 Thread Sampad Mohapatra
Hi All, I am facing compile issues while trying to compile commit e02ec0c24d56bce4a0d8636a340e15cd223d1930 . There are two types of errors in the Gem5 source: (1) *no matching function for call to : find(uint64_t&)* build/HSAIL_X86/gpu-compute/hsail_code.cc: In member function 'StorageElement*

Re: [gem5-users] Duplicated execution of m5ops

2018-08-13 Thread kon.bick
Hi Jason, Thanks a lot for getting back to me! Sorry if my explanation in the last mail was somewhat unclear: my tests later were made without applying the qemu-patch.diff to the hooks library in PARSEC. So, the PARSEC benchmark itself did not include any assembly m5 op code functions.

[gem5-users] Question about GEM5 DVFS and cpu_voltage_domain

2018-08-13 Thread Xin Zhan
Hello everyone, Currently I want to do experiments using GEM5 and McPAT. I plan to assign different clock frequency in GEM5 simulation to get stats, and fed into McPAT with the corresponding supply voltage to get the power number. My question is: Besides changing the clock frequency, should I

[gem5-users] Assign an array of objects from python

2018-08-13 Thread Amir Alipour
Hi Gem5 devs, I've got a problem recently with python configuration. I have a chip implementation in gem5 in which I have an array of a specific core type (driven from SimObject). Now I want to assign cores that I am instantiating in chip's python description file, which I don't know how to do.

Re: [gem5-users] Duplicated execution of m5ops

2018-08-13 Thread Jason Lowe-Power
Hi Kon, The PARSEC patch file modifies the parsec ROI library so when you run an application like blackscholes, at the beginning of the ROI and at the end of the ROI the stats will be dumped/reset *in the execution of the benchmark!* You are adding in extra dump/reset stats by calling `m5

Re: [gem5-users] dumpresetstats in python file?

2018-08-13 Thread Jason Lowe-Power
Hi Jimmy, Yes. The python code is almost exactly what you have. You can use `m5.stats.reset()` and `m5.stats.dump()` from python. See https://gem5.googlesource.com/public/gem5/+/master/src/python/m5/stats/__init__.py#192 . Cheers, Jason On Mon, Aug 13, 2018 at 8:31 AM Jimmy Situ wrote: > Hi,

[gem5-users] dumpresetstats in python file?

2018-08-13 Thread Jimmy Situ
Hi, All I want to dump gem5 status every 10K clock in fs mode. I notice this can be done by using /sbin/m5 suppose I am running in 1GHz, and /sbin/m5 dumpresetstats 0 10 I wonder if there is a way to do it in the python script something like while 1: m5.simulate(1) # dump and

Re: [gem5-users] Is it possible to make gem5 exit with status 1 on Linux kernel panic?

2018-08-13 Thread Jason Lowe-Power
Hi Ciro, As far as I know, it's not desired behavior for the exit status to be 0 when a panic happens. It's probably just something that has never come up. Feel free to submit a patch to change this! It looks like something would need to change in `raiseFatalSignal()` in src/sim/init_signals.cc.

[gem5-users] How to create a packet to do MemRef without segment fault?

2018-08-13 Thread IL Ne
I create a packet by using constructor of class Request and Packet. But when sending it in memory error will occur. Is there something important I miss? Thanks. ___ gem5-users mailing list gem5-users@gem5.org

Re: [gem5-users] Fix periods in gem5 cache

2018-08-13 Thread Parmida Vahdatnia
Yes the if statements in the code, sorry if it was confusing. But I have used them in python and in the se.py and garnet_synth_traffic.py codes, although I have not done exactly what you are trying to do. Regards Parmida On Mon, Aug 13, 2018 at 11:40 AM, Muhammad Avais wrote: > Dear Parmida, >

Re: [gem5-users] Fix periods in gem5 cache

2018-08-13 Thread Muhammad Avais
Dear Parmida, Many thanks for your reply. "ifs" mean If statement in C or is something else. Best Regartds, Avais On Mon, Aug 13, 2018 at 2:28 PM, Parmida Vahdatnia < parmida.vahdat...@gmail.com> wrote: > I usually use the combination of the getTick() function and ifs in the > code,