- Make Scheduler::step_forward return a bool representing if
the step went okay or otherwise if the simulation ended - Fix simulation states in concrete_simulation.cc - Manage end of input (now CTRL+D exits the program, and you can redirect a file in input knowing that at EOF sgpemv2 will terminate) - Fix a bug in Scheduler that didn't add the newly created environment to History when the simulation ended, thus leading both to a memory leak and an inconsistency in representing the simulation git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@807 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
6f8625d308
commit
c6ebe792e4
6 changed files with 57 additions and 85 deletions
|
@ -494,8 +494,7 @@ TextSimulation::on_help(const Tokens& arguments)
|
|||
"the cpu policy.\n\nThis is currently the only way to control the behaviour of "
|
||||
"cpu policies without modifying their source code.\n"));
|
||||
else if(command == "HELP")
|
||||
p_stdout(_("-- Do you really want me to explain what HELP means? --\n"
|
||||
" ************** YOU ARE JOKING ME !!! ************\n"));
|
||||
p_stdout(_("-- HELP COMMAND --\nThe help you're reading"));
|
||||
else if(command == "GET")
|
||||
p_stdout(_("-- GET COMMAND --\nSyntax: GET <attr_name>\n"
|
||||
"\twhere <attr_name> may be simulation-tick or continuous.\n"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue