Hello all,
I am running Linux in Alpha FS mode and running a single thread app.
I need some suggestion. I am testing some piece of code and wanted to update
the struct in kernel. I was checking the kernel function that does the same,
but it involves many lock checking etc. Can i invoke the same kernel function
via gem5 scope (scope: LinuxAlphaSystem)with all the arguments. If yes can you
please let me know how and if possible can you please provide an example as
well.
I am stuck because of this. If possible can you please let me at your earliest.
Thanks a lot.
regards
Sudhanshu.
________________________________
From: Ali Saidi <[email protected]>
To: Sudhanshu Jha <[email protected]>; gem5 users mailing list
<[email protected]>
Sent: Sunday, April 22, 2012 1:45 PM
Subject: Re: [gem5-users] how to differentiate between the benchmark thread
(tid) and processor thread (tid) using thread context in FS mode
Look for PrintThreadInfo in the code, but you'll need to remove a false
constant in src/alpha/linux/system.cc to make it work.
Ali
On Apr 19, 2012, at 2:00 AM, Sudhanshu Jha wrote:
Hello,
>
>
>Can you please suggest as to how can i distinguish between the processor tid
>and a benchmark tid during FS execution in Alpha processor. Since, during the
>dumpstats, the swap_context value show as to how may times there was a valid
>context swap between processes running on the alpha thread. Is there any way
>to extract this information?
>
>
>Thanks a lot for your help.
>
>
>regards
>Sudhanshu._______________________________________________
>gem5-users mailing list
>[email protected]
>http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users