Command line param -p now actually looks at the value you give it.

This commit is contained in:
grinvader
2005-06-27 10:30:51 +00:00
parent 732c325ee3
commit 7924ad7328

View File

@@ -407,6 +407,7 @@ static void handle_params(int argc, char *argv[])
break; break;
case 'p': //Percentage of instructions to execute case 'p': //Percentage of instructions to execute
i++;
per2exec = zatoi(argv[i]); per2exec = zatoi(argv[i]);
if (per2exec > 150 || per2exec < 50) if (per2exec > 150 || per2exec < 50)
{ {