diff options
author | David Hashe <david.hashe@amd.com> | 2015-07-20 09:15:18 -0500 |
---|---|---|
committer | David Hashe <david.hashe@amd.com> | 2015-07-20 09:15:18 -0500 |
commit | 698866d46197ad062384894f1927f99f26b03f3b (patch) | |
tree | d614d93a6d072c8440b9db13831e80b45756a742 /src/mem/ruby/slicc_interface | |
parent | 1a7d3f9fcb76a68540dd948f91413533a383bfde (diff) | |
download | gem5-698866d46197ad062384894f1927f99f26b03f3b.tar.xz |
ruby: split CPU and GPU latency stats
Diffstat (limited to 'src/mem/ruby/slicc_interface')
-rw-r--r-- | src/mem/ruby/slicc_interface/AbstractController.cc | 1 | ||||
-rw-r--r-- | src/mem/ruby/slicc_interface/AbstractController.hh | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/slicc_interface/AbstractController.cc b/src/mem/ruby/slicc_interface/AbstractController.cc index 458fde5bc..669fb30fb 100644 --- a/src/mem/ruby/slicc_interface/AbstractController.cc +++ b/src/mem/ruby/slicc_interface/AbstractController.cc @@ -32,6 +32,7 @@ #include "mem/protocol/MemoryMsg.hh" #include "mem/ruby/system/RubySystem.hh" #include "mem/ruby/system/Sequencer.hh" +#include "mem/ruby/system/GPUCoalescer.hh" #include "sim/system.hh" AbstractController::AbstractController(const Params *p) diff --git a/src/mem/ruby/slicc_interface/AbstractController.hh b/src/mem/ruby/slicc_interface/AbstractController.hh index 4488ee3f4..cfd11b8eb 100644 --- a/src/mem/ruby/slicc_interface/AbstractController.hh +++ b/src/mem/ruby/slicc_interface/AbstractController.hh @@ -49,6 +49,7 @@ #include "mem/mem_object.hh" class Network; +class GPUCoalescer; // used to communicate that an in_port peeked the wrong message type class RejectException: public std::exception @@ -86,6 +87,7 @@ class AbstractController : public MemObject, public Consumer virtual void recordCacheTrace(int cntrl, CacheRecorder* tr) = 0; virtual Sequencer* getCPUSequencer() const = 0; + virtual GPUCoalescer* getGPUCoalescer() const = 0; //! These functions are used by ruby system to read/write the data blocks //! that exist with in the controller. |