[gem5-users] Using Ruby with ARM FS

2013-07-09 Thread Amit Tara
Hi, To use ruby model with ARM FS, I am trying the following command build/ARM/gem5.opt configs/example/fs.py --ruby --mem-size=16MB --cpu-type=arm_detailed --caches --bare-metal --kernel= -n 1 But when I see the config.ini file, I don't see any entry for ruby. Am I using it correctly ? Can r

[gem5-users] task execution time(multicore)?

2013-07-09 Thread tod
Hello,A snippet from 'system.task.txt' file is as following:tick=64436563000 0 cpu_id=0 next_pid=2 next_tgid=2 next_task=kthreaddtick=64441572500 7 cpu_id=0 next_pid=8 next_tgid=8 next_task=kthreaddtick=64442536500 1 cpu_id=0 next_pid=1 next_tgid=1 next_task=swappertick=64464166000 0 cpu_id=

Re: [gem5-users] Problems with extreme large tick numbers

2013-07-09 Thread Steve Reinhardt
Really large values like that tend to mean that your simulation is deadlocked, so few or no events get scheduled. There is a termination event scheduled at MaxTick to prevent the event queue from wrapping around to zero; that's 2^63-1, or 9223372036854775807. If you're actually seeing an event at

Re: [gem5-users] Problems with extreme large tick numbers

2013-07-09 Thread Andreas Hansson
MaxTick is unsigned these days so I would think it's 2^64 – 1. From: Steve Reinhardt mailto:ste...@gmail.com>> Reply-To: gem5 users mailing list mailto:gem5-users@gem5.org>> Date: Tuesday, 9 July 2013 16:16 To: gem5 users mailing list mailto:gem5-users@gem5.org>> Subject: Re: [gem5-users] Problem

Re: [gem5-users] Problems with extreme large tick numbers

2013-07-09 Thread Steve Reinhardt
I wasn't sure so I looked it up before posting... however I only looked at the first definition I found, It turns out that (unfortunately) we're both right, as the python definition and the C++ definition do not match: http://grok.gem5.org/search?q=MaxTick&project=gem5&defs=MaxTick&refs=&path=&hi

Re: [gem5-users] Multiple Workloads in FS mode.......

2013-07-09 Thread Mahshid Sedghi
Hello, I am also interested in this topic. I'd appreciate if someone can provide some insight. Thanks. On Mon, Jul 8, 2013 at 8:53 PM, Zheng Wu wrote: > Hi all, > > I am also curious to know the answer to this question. > > Thanks > > On 2013-07-07, at 2:08 PM, Amanpreet Kaur > wrote: > > he

[gem5-users] CPU Instruction Execution

2013-07-09 Thread Zheng Wu
Hi All, I am trying to understand the source code. I want to know where in the code does the CPUs execute instructions. I am currently looking at: - src/cpu/base.hh - src/cpu/thread_context.hh - src/cpu/cpuevent.hh Q1: Shouldn't there be some kind of queue for instruc

Re: [gem5-users] CPU Instruction Execution

2013-07-09 Thread Huang, Henry
For Q2, program binary is loaded by function createObjectFile() [src/base/loader/object_file.cc] firstly, then binary image is copied to AbstractMemory, see call stack blow: #0 0x003e1e289904 in memcpy () from /lib64/libc.so.6 #1 0x008c942a in AbstractMemory::functionalAccess (t

[gem5-users] Stop simulation with instructions executed from whole program

2013-07-09 Thread Hui Zhao
Hello I am running multithreaded applications on Gem5. I want to stop the simulation when the sum of all cores' executed instructions reaches some million. But the current -I n will stop when any core reaches the n instructions. How can I do this? Thanks