Command line param -p now actually looks at the value you give it.
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user