Matt Sinclair has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/69397?usp=email )
Change subject: mem-ruby: fix whitespacing errors in RubySystem
......................................................................
mem-ruby: fix whitespacing errors in RubySystem
These errors cause other commits to fail pre-commit
Change-Id: I379d2d7c73f88d0bb35de5aaa7d8cb70a83ee1dd
---
M src/mem/ruby/system/RubySystem.cc
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/mem/ruby/system/RubySystem.cc
b/src/mem/ruby/system/RubySystem.cc
index 91c4bc3..5a81513 100644
--- a/src/mem/ruby/system/RubySystem.cc
+++ b/src/mem/ruby/system/RubySystem.cc
@@ -310,23 +310,24 @@
void
RubySystem::serialize(CheckpointOut &cp) const
{
- // Store the cache-block size, so we are able to restore on systems
with a
- // different cache-block size. CacheRecorder depends on the correct
- // cache-block size upon unserializing.
+ // Store the cache-block size, so we are able to restore on systems
+ // with a different cache-block size. CacheRecorder depends on the
+ // correct cache-block size upon unserializing.
uint64_t block_size_bytes = getBlockSizeBytes();
SERIALIZE_SCALAR(block_size_bytes);
- // Check that there's a valid trace to use. If not, then memory won't
be
- // up-to-date and the simulation will probably fail when restoring
from the
- // checkpoint.
+ // Check that there's a valid trace to use. If not, then memory won't
+ // be up-to-date and the simulation will probably fail when restoring
+ // from the checkpoint.
if (m_cache_recorder == NULL) {
- fatal("Call memWriteback() before serialize() to create ruby
trace");
+ fatal("Call memWriteback() before serialize() to create"
+ "ruby trace");
}
// Aggregate the trace entries together into a single array
uint8_t *raw_data = new uint8_t[4096];
- uint64_t cache_trace_size =
m_cache_recorder->aggregateRecords(&raw_data,
- 4096);
+ uint64_t cache_trace_size = m_cache_recorder->aggregateRecords(
+ &raw_data, 4096);
std::string cache_trace_file = name() + ".cache.gz";
writeCompressedTrace(raw_data, cache_trace_file, cache_trace_size);
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/69397?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I379d2d7c73f88d0bb35de5aaa7d8cb70a83ee1dd
Gerrit-Change-Number: 69397
Gerrit-PatchSet: 1
Gerrit-Owner: Matt Sinclair <mattdsinclair.w...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org