diff options
Diffstat (limited to 'src/mem/ruby/system')
-rw-r--r-- | src/mem/ruby/system/CacheRecorder.cc | 2 | ||||
-rw-r--r-- | src/mem/ruby/system/CacheRecorder.hh | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mem/ruby/system/CacheRecorder.cc b/src/mem/ruby/system/CacheRecorder.cc index 3a76a64f7..542d91aef 100644 --- a/src/mem/ruby/system/CacheRecorder.cc +++ b/src/mem/ruby/system/CacheRecorder.cc @@ -143,7 +143,7 @@ CacheRecorder::enqueueNextFetchRequest() void CacheRecorder::addRecord(int cntrl, const physical_address_t data_addr, const physical_address_t pc_addr, - RubyRequestType type, Time time, DataBlock& data) + RubyRequestType type, Tick time, DataBlock& data) { TraceRecord* rec = (TraceRecord*)malloc(sizeof(TraceRecord) + m_block_size_bytes); diff --git a/src/mem/ruby/system/CacheRecorder.hh b/src/mem/ruby/system/CacheRecorder.hh index 2156b0689..ad1223dce 100644 --- a/src/mem/ruby/system/CacheRecorder.hh +++ b/src/mem/ruby/system/CacheRecorder.hh @@ -38,6 +38,7 @@ #include <vector> #include "base/hashmap.hh" +#include "base/types.hh" #include "mem/protocol/RubyRequestType.hh" #include "mem/ruby/common/Address.hh" #include "mem/ruby/common/DataBlock.hh" @@ -54,7 +55,7 @@ class Sequencer; class TraceRecord { public: int m_cntrl_id; - Time m_time; + Tick m_time; physical_address_t m_data_address; physical_address_t m_pc_address; RubyRequestType m_type; @@ -75,7 +76,7 @@ class CacheRecorder uint64_t block_size_bytes); void addRecord(int cntrl, const physical_address_t data_addr, const physical_address_t pc_addr, RubyRequestType type, - Time time, DataBlock& data); + Tick time, DataBlock& data); uint64 aggregateRecords(uint8_t** data, uint64 size); |