Hello, You can bind thread to cores by ether pthread_setaffinity_np() or <http://linux.die.net/man/2/sched%5Fsetaffinity>sched_setaffinity() Linux system call. You can learn more about them in PThread manual and linux journals.
Best regards 2012/4/23 Mohamed hédi Ghaddab <[email protected]> > Hi Hamid, > can you please explain more how i can determine a thread runs on which > core? > > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > -- Hamid Reza Khaleghzadeh http://hkhaleghzadeh.webs.com
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
