Re: [Gems-users] How to add additional member to each L2 cache entry


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

How can we add this MachineID in the request msg to each L2 cache entry.Where I need to make the assignment?I need this information in CacheMemory.h.Also,If we have some private area within the shared L2 cache for each core and need to check for a hit in both the shared area and the private area,where I need to make the changes in computing the set and the tag.Is it n CacheMemory.h or somewhere else too?

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→]