Date: | Fri, 15 Jan 2010 09:29:22 -0600 |
---|---|
From: | Polina Dudnik <pdudnik@xxxxxxxxx> |
Subject: | Re: [Gems-users] How to add additional member to each L2 cache entry |
Liz, So, like I said in my previous email, the requestor id (L1 id) is already known at L2. If you want to see it in CacheMemory, here's what you can do: add whatever function to CacheMemory that you would like to call to process id's (say void monitorId(int id). In the -L2cache.sm find CacheMemory, add a declaration of that function. Now you can call that function from actions in -L2cache.sm. So, say your L2 is processing a request from L1 (look for L1RequestIntraChipL2Network_in), then if you wish you can call your function and pass the L1 id to it like so: L2cacheMemory.monitorId(in_msg.RequestorMachId), I think that would work.
Polina On Fri, Jan 15, 2010 at 12:34 AM, Liz Joy <lizjoy86@xxxxxxxxx> wrote: Thanks for your reply,Polina |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] Some problems on the trace of MESI_CMP_filter_Directory protocol(fully), Marc Lupon |
---|---|
Next by Date: | [Gems-users] how to inject error when i do fault recovery research?, VLIW |
Previous by Thread: | [Gems-users] How to add additional member to each L2 cache entry, Liz Joy |
Next by Thread: | [Gems-users] How to add additional member to each L2 cache entry, Liz Joy |
Indexes: | [Date] [Thread] |