diff options
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/stat_control.cc | 4 | ||||
-rw-r--r-- | src/sim/system.cc | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/sim/stat_control.cc b/src/sim/stat_control.cc index 83089f399..75e717bfa 100644 --- a/src/sim/stat_control.cc +++ b/src/sim/stat_control.cc @@ -157,8 +157,8 @@ Global::Global() finalTick .functor(statFinalTick) .name("final_tick") - .desc("Number of ticks from beginning of simulation \ -(restored from checkpoints and never reset)") + .desc("Number of ticks from beginning of simulation " + "(restored from checkpoints and never reset)") ; hostInstRate diff --git a/src/sim/system.cc b/src/sim/system.cc index cabb358b3..fe5be23dc 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -450,9 +450,10 @@ System::getMasterId(std::string master_name) // Otherwise objects will have sized their stat buckets and // they will be too small - if (Stats::enabled()) - fatal("Can't request a masterId after regStats(). \ - You must do so in init().\n"); + if (Stats::enabled()) { + fatal("Can't request a masterId after regStats(). " + "You must do so in init().\n"); + } masterIds.push_back(master_name); |