diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2015-08-29 10:19:23 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2015-08-29 10:19:23 -0500 |
commit | 4727fc26f885d09f07f18a10fabe6c75dffe165f (patch) | |
tree | f66861617159e8b49b56347f849cb628ac76d517 /src/mem/ruby/system/CacheRecorder.cc | |
parent | e9d6bf5e35b732df925f65a7b7adaa746f6a7f3b (diff) | |
download | gem5-4727fc26f885d09f07f18a10fabe6c75dffe165f.tar.xz |
ruby: eliminate type uint64 and int64
These types are being replaced with uint64_t and int64_t.
Diffstat (limited to 'src/mem/ruby/system/CacheRecorder.cc')
-rw-r--r-- | src/mem/ruby/system/CacheRecorder.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/ruby/system/CacheRecorder.cc b/src/mem/ruby/system/CacheRecorder.cc index a2ac6bdf8..339cf1b4f 100644 --- a/src/mem/ruby/system/CacheRecorder.cc +++ b/src/mem/ruby/system/CacheRecorder.cc @@ -161,13 +161,13 @@ CacheRecorder::addRecord(int cntrl, Addr data_addr, Addr pc_addr, m_records.push_back(rec); } -uint64 -CacheRecorder::aggregateRecords(uint8_t** buf, uint64 total_size) +uint64_t +CacheRecorder::aggregateRecords(uint8_t **buf, uint64_t total_size) { std::sort(m_records.begin(), m_records.end(), compareTraceRecords); int size = m_records.size(); - uint64 current_size = 0; + uint64_t current_size = 0; int record_size = sizeof(TraceRecord) + m_block_size_bytes; for (int i = 0; i < size; ++i) { |