Someone else might be able to help you with m5threads, I can't. However, 
assuming you have the code that you want to modify you can easily insert an m5 
pseudo instruction (see util/m5) that reset the stats  or dumps them.

Ali

On Aug 17, 2010, at 2:37 PM, Malek Musleh wrote:

> Hello,
> 
> I was wondering if there is a way to detect instructions that are
> generated from syncronization events (e.g. spin locks generated from
> pthread mutex locks), or some manner in which I would be able to start
> stat collection after a particular core (in a Multicore simulation)
> has obtained the corresponding lock. I am not sure if simple
> checkpointing will work in this case because depending on the number
> of threads/cores in the simulation/multithreaded binary, the time at
> which I am interested most will differ.
> 
> I was looking at m5threads, but I ran into some errors building it,
> but there also seems to be a lack of documentation and little recent
> work on it to make it a true alternative to pthreads.
> 
> Does anybody have any suggestions?
> 
> Thanks
> 
> Malek
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
> 

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to