You can check if the request hasContextId() and then use contextId() to get the context Id which nominally is the core. You could also get the masterId and match it to the system.cpuX string it registered with depending on exactly what you're looking for.
Master IDs are assigned to every request and uniquly identify the requestor. Context IDs are only assigned to CPU generated requests. Ali On 08.03.2012 08:58, Meeran Mohideeen wrote: > Hi Everyone.. > I have to trace the CPU id of a particular core that sent a particular memory request in order to reserve resources for that core. With the memory request (message) in hand, how can i find the id of the core that sent the request.... > Please help me.. > > Thanks in advance.
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users