diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2009-11-18 16:34:31 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2009-11-18 16:34:31 -0800 |
commit | 2783a7b9ad90d04d74418d7463c255c29ffd8046 (patch) | |
tree | 8ec014b0f6607795faa96b980f8ec1947352bd78 /src/mem/protocol | |
parent | 7b8fcecf11813492d770a0d766fb9a9fb01be3e2 (diff) | |
download | gem5-2783a7b9ad90d04d74418d7463c255c29ffd8046.tar.xz |
ruby: returns the number of LLC needed for broadcast
Added feature to CacheMemory to return the number of last level caches.
This count is need for broadcast protocols such as MOESI_hammer.
Diffstat (limited to 'src/mem/protocol')
-rw-r--r-- | src/mem/protocol/RubySlicc_ComponentMapping.sm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/protocol/RubySlicc_ComponentMapping.sm b/src/mem/protocol/RubySlicc_ComponentMapping.sm index 559e54a8c..2a027554e 100644 --- a/src/mem/protocol/RubySlicc_ComponentMapping.sm +++ b/src/mem/protocol/RubySlicc_ComponentMapping.sm @@ -29,6 +29,8 @@ // Mapping functions +int getNumberOfLastLevelCaches(); + // NodeID map_address_to_node(Address addr); MachineID mapAddressToRange(Address addr, MachineType type, int low, int high); MachineID map_Address_to_DMA(Address addr); |