Re: [gem5-users] Accessing logical (software) thread ID in gem5

2019-01-11 Thread Konstadinos PARASYRIS
Hi Shehab, Jason is right. I have implemented a similar mechanism as the one you described. The mechanism has two aspects. You need to leverage a hardware component which will always have a unique value for the specific thread. I will call this value from now on "HWthreadID". As far as I know for

Re: [gem5-users] Accessing logical (software) thread ID in gem5

2019-01-10 Thread Jason Lowe-Power
Hi Shehab, If you're using FS mode, the question you need to ask yourself is "How would hardware be able to determine the logical thread id?" As far as I know, there are not magic instructions, etc. implemented in gem5 to get the logical thread ID. You may be able to leverage the ASID that is pass

[gem5-users] Accessing logical (software) thread ID in gem5

2019-01-10 Thread Shehab Elsayed
Hello All, I was wondering if there is a way to differentiate between different logical (software) threads in gem5. I am trying to collect some stats for each logical thread and so far all I could find in gem5 is access to physical threads. I know that logical threads is the responsibility of the