summaryrefslogtreecommitdiff
path: root/src/mem/protocol/MI_example-cache.sm
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-06-24 08:59:08 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-06-24 08:59:08 -0500
commitb3db882deeaf5952dc1b63e7cc2d1cce1732c97d (patch)
tree8453f34e4d8f7e4a875709a51bb35d9c5a77268d /src/mem/protocol/MI_example-cache.sm
parent71c6c4311060fb2bc8711188a37f5b6b1a035654 (diff)
downloadgem5-b3db882deeaf5952dc1b63e7cc2d1cce1732c97d.tar.xz
ruby: remove the three files related to profiling
This patch removes the following three files: RubySlicc_Profiler.sm, RubySlicc_Profiler_interface.cc and RubySlicc_Profiler_interface.hh. Only one function prototyped in the file RubySlicc_Profiler.sm. Rest of the code appearing in any of these files is not in use. Therefore, these files are being removed. That one single function, profileMsgDelay(), is being moved to the protocol files where it is in use. If we need any of these deleted functions, I think the right way to make them visible is to have the AbstractController class in a .sm and let the controller state machine inherit from this class. The AbstractController class can then have the prototypes of these profiling functions in its definition.
Diffstat (limited to 'src/mem/protocol/MI_example-cache.sm')
-rw-r--r--src/mem/protocol/MI_example-cache.sm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/protocol/MI_example-cache.sm b/src/mem/protocol/MI_example-cache.sm
index d22a0d3e9..2b505f047 100644
--- a/src/mem/protocol/MI_example-cache.sm
+++ b/src/mem/protocol/MI_example-cache.sm
@@ -105,6 +105,7 @@ machine(L1Cache, "MI Example L1 Cache")
void unset_cache_entry();
void set_tbe(TBE b);
void unset_tbe();
+ void profileMsgDelay(int virtualNetworkType, Cycles b);
Entry getCacheEntry(Address address), return_by_pointer="yes" {
return static_cast(Entry, "pointer", cacheMemory.lookup(address));