changeset 4dc0fc0f68c2 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=4dc0fc0f68c2
description:
        MESI Protocol: Correct the virtual network in profile functions
        The virtual network in a couple of places was incorrectly mentioned
        as 3 in place of 1. This is being corrected.

diffstat:

 src/mem/protocol/MESI_CMP_directory-L1cache.sm |  2 +-
 src/mem/protocol/MESI_CMP_directory-L2cache.sm |  3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r b8de57c70759 -r 4dc0fc0f68c2 
src/mem/protocol/MESI_CMP_directory-L1cache.sm
--- a/src/mem/protocol/MESI_CMP_directory-L1cache.sm    Sat Aug 25 13:16:45 
2012 -0500
+++ b/src/mem/protocol/MESI_CMP_directory-L1cache.sm    Sat Aug 25 15:49:06 
2012 -0500
@@ -628,7 +628,7 @@
   }
 
   action(o_popIncomingResponseQueue, "o", desc="Pop Incoming Response queue 
and profile the delay within this virtual network") {
-    profileMsgDelay(3, responseIntraChipL1Network_in.dequeue_getDelayCycles());
+    profileMsgDelay(1, responseIntraChipL1Network_in.dequeue_getDelayCycles());
   }
 
   action(s_deallocateTBE, "s", desc="Deallocate TBE") {
diff -r b8de57c70759 -r 4dc0fc0f68c2 
src/mem/protocol/MESI_CMP_directory-L2cache.sm
--- a/src/mem/protocol/MESI_CMP_directory-L2cache.sm    Sat Aug 25 13:16:45 
2012 -0500
+++ b/src/mem/protocol/MESI_CMP_directory-L2cache.sm    Sat Aug 25 15:49:06 
2012 -0500
@@ -48,7 +48,6 @@
   MessageBuffer unblockToL2Cache, network="From", virtual_network="2", 
ordered="false", vnet_type="unblock";  // a local L1 || Memory -> this L2 bank
   MessageBuffer L1RequestToL2Cache, network="From", virtual_network="0", 
ordered="false", vnet_type="request";  // a local L1 -> this L2 bank
   MessageBuffer responseToL2Cache, network="From", virtual_network="1", 
ordered="false", vnet_type="response";  // a local L1 || Memory -> this L2 bank
-//  MessageBuffer unblockToL2Cache, network="From", virtual_network="4", 
ordered="false", vnet_type="unblock";  // a local L1 || Memory -> this L2 bank
 
   // STATES
   state_declaration(State, desc="L2 Cache states", default="L2Cache_State_NP") 
{
@@ -621,7 +620,7 @@
   }
 
   action(o_popIncomingResponseQueue, "o", desc="Pop Incoming Response queue") {
-    profileMsgDelay(3, responseIntraChipL2Network_in.dequeue_getDelayCycles());
+    profileMsgDelay(1, responseIntraChipL2Network_in.dequeue_getDelayCycles());
   }
 
   action(m_writeDataToCache, "m", desc="Write data from response queue to 
cache") {
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to