Re: [Gems-users] Processor id in cacheMemory.h


Date: Thu, 18 Mar 2010 10:35:51 -0500
From: Rakesh Komuravelli <komurav1@xxxxxxxxxxxx>
Subject: Re: [Gems-users] Processor id in cacheMemory.h
Hi Liz,

I just had a quick look at the MSI_MOSI_CMP protocol L2 file and looks like the request message to L2 has a field RequestorMachId that has the requestor's machine ID (you can look at the corresponding L1 file on how the request message is generated). Now, to pass this information to a function of CacheMemory, in an action corresponding to the transition of interest, you should peek into the request queue, get a hold on the input request and extract the entry by in_msg.RequestorMachId.

Thanks,
Rakesh

On Thu, Mar 18, 2010 at 6:57 AM, Liz Joy <lizjoy86@xxxxxxxxx> wrote:
Hii,,

I would like to get the processor id in a variable in cacheMemory.h whenever a function in cacheMemory file is called.....ie whenever L2cacheMemory.functionname() happens in MSI_MOSI_CMP_directory-L2cache.sm i want the requestor's id to be passed to a function like.....L2cacheMemory.monitorId(requestor)...The correct requestors is is not available at these positions.............wat should i do to get the requestor L1's whenever isTagPresent() is called..Can anyone help me please.....

Thanks in advance
Liz

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.



[← Prev in Thread] Current Thread [Next in Thread→]