Improved `ZydisPerfTest`

This commit is contained in:
flobernd 2018-01-11 02:44:26 +01:00
parent 9c71771875
commit 44bbc7cea2
No known key found for this signature in database
GPG Key ID: 9C3AE0ED4A969F10
1 changed files with 3 additions and 2 deletions

View File

@ -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;