Hello Jason Is it possible to find ThreadID (Hardware Thread ID) of a cache block? In the request object only contextID and masterID are present.
Thanks Sai On Tue, Apr 28, 2020 at 12:00 AM Jason Lowe-Power via gem5-users < [email protected]> wrote: > Hi Abhijith, > > I'm not sure exactly what you're asking here. However, the request object > (in the packet) should have a masterID which refers to the original > requestor. You can use `system->lookupMasterId` to get the SimObject that > created that request. > > Cheers, > Jason > > On Mon, Apr 27, 2020 at 5:47 AM POGIRI VENKATA NARAYANA ABHIJITH cs16b018 > via gem5-users <[email protected]> wrote: > >> If a load misses processors' private cache (assuming there are 2 levels >> of cache), then inside that miss handler function, is there a way to >> access thread_context of the process in order to read the required register? >> >> Thank you, >> Abhijith Pogiri. >> _______________________________________________ >> gem5-users mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s > > _______________________________________________ > gem5-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
