If so then on class process there is an variavle M5_pid is this
variable unique
to each process running on FS.
Now concernig my question about pthreads maybe an example will help :
If i have a program using 2 pthreads and my ALPHA system simulates a 2
core cpu.
If pthread 1 is running on core 1 and pthread 2 is running on core 2 is it
possible for pthread2 to run on core 1? If yes is there anyway to indentify
different pthreads of the same application while executing the application?
Now about the contex switch assume we have a workload with 2 applications
running on the ALPHA single-core system.If for some reason application 1 is
running and a contex switch is happening can i understand that by some
event or
something like that
Thank you
Quoting Steve Reinhardt <[email protected]>:
LiveProcess is only used in SE mode, not FS mode.
I don't understand the rest of your question.
Steve
On Mon, Nov 14, 2011 at 2:55 AM, <[email protected]> wrote:
Hi,
I dont know if i am refering to the right list. I m writing a module on
ALPHA_FS
and i need to know if there is a connection between the thread's on the
cpu and
the thread's of the pthread library.
Moreover is the varable on clas::LiveProcess pid unique to each process on
the
system? Is there any function that is called on the contex switch?
Thanc you
_______________________________________________
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