diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-06-24 08:59:08 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-06-24 08:59:08 -0500 |
commit | b3db882deeaf5952dc1b63e7cc2d1cce1732c97d (patch) | |
tree | 8453f34e4d8f7e4a875709a51bb35d9c5a77268d /src/mem/protocol/MESI_CMP_directory-L1cache.sm | |
parent | 71c6c4311060fb2bc8711188a37f5b6b1a035654 (diff) | |
download | gem5-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/MESI_CMP_directory-L1cache.sm')
-rw-r--r-- | src/mem/protocol/MESI_CMP_directory-L1cache.sm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/protocol/MESI_CMP_directory-L1cache.sm b/src/mem/protocol/MESI_CMP_directory-L1cache.sm index e45a8df34..454e01050 100644 --- a/src/mem/protocol/MESI_CMP_directory-L1cache.sm +++ b/src/mem/protocol/MESI_CMP_directory-L1cache.sm @@ -151,6 +151,7 @@ machine(L1Cache, "MESI Directory L1 Cache CMP") void set_tbe(TBE a); void unset_tbe(); void wakeUpBuffers(Address a); + void profileMsgDelay(int virtualNetworkType, Cycles c); // inclusive cache returns L1 entries only Entry getCacheEntry(Address addr), return_by_pointer="yes" { |