Hi Majid,

Yes. This is possible. To run multiple different processes, you can create
multiple CPUs with multiple "LiveProcess" objects. For multi-threaded
applications, I believe you need to have enough CPUs create (enough
hardware contexts) and then link to m5threads instead of the pthreads
library.

Hopefully this will get your started down the right path.

Jason

On Fri, Nov 18, 2016 at 1:48 AM Majid Namaki Shoushtari <[email protected]>
wrote:

> I was wondering if there is a way to simulate
> multiprogrammed/multithreaded workloads in SE mode?
> Just to clarify: I mean running for example two programs that spawn 4
> threads each.
>
> As I understand this is not possible with the current se.py script, but is
> it theoretically possible to run such simulations in SE mode?
> If yes, could you please give some hints on how to modify se.py
> accordingly?
>
> Thanks,
> Majid
> _______________________________________________
> 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

Reply via email to