diff --git a/examples/ZydisPerfTest.c b/examples/ZydisPerfTest.c index d7331a0..841e4e9 100644 --- a/examples/ZydisPerfTest.c +++ b/examples/ZydisPerfTest.c @@ -358,10 +358,11 @@ int main(int argc, char** argv) { time_t t; srand((unsigned)time(&t)); + } else + { + adjustProcessAndThreadPriority(); } - adjustProcessAndThreadPriority(); - for (uint8_t i = 0; i < ZYDIS_ARRAY_SIZE(tests); ++i) { FILE* file;