summaryrefslogtreecommitdiff
path: root/util/cxx_config/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/cxx_config/main.cc')
-rw-r--r--util/cxx_config/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cxx_config/main.cc b/util/cxx_config/main.cc
index a9a86b424..afc166174 100644
--- a/util/cxx_config/main.cc
+++ b/util/cxx_config/main.cc
@@ -88,7 +88,7 @@ usage(const std::string &prog_name)
" -s <dir> <ticks> -- save checkpoint to dir after"
" the given\n"
" number of ticks\n"
- " -r <dir> -- restore checkpoint to dir\n"
+ " -r <dir> -- restore checkpoint from dir\n"
" -c <from> <to> <ticks> -- switch from cpu 'from' to cpu"
" 'to' after\n"
" the given number of ticks\n"
@@ -226,7 +226,6 @@ main(int argc, char **argv)
GlobalSimLoopExitEvent *exit_event = NULL;
if (checkpoint_save) {
-
exit_event = simulate(pre_run_time);
DrainManager drain_manager;
@@ -265,6 +264,7 @@ main(int argc, char **argv)
Serializable::unserializeGlobals(checkpoint);
config_manager->loadState(checkpoint);
+ config_manager->startup();
config_manager->drainResume();