[v1.01] Run multiple independent instructions in the pipeline for AVX freq too. Fixes incorrect frequency measures under certain CPUs

This commit is contained in:
Dr-Noob
2021-12-27 12:42:03 +01:00
parent a4e1a837a3
commit 874a856e34
4 changed files with 21 additions and 14 deletions

View File

@@ -5,7 +5,7 @@
#include "../../common/cpu.h"
#define MEASURE_TIME_SECONDS 5
#define LOOP_ITERS 1000000000
#define LOOP_ITERS 100000000
int64_t measure_frequency(struct cpuInfo* cpu);