From 7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Sat, 20 May 2023 13:37:47 +0000 Subject: Fix all the remaining misspellings -- BZ 25337 --- benchtests/bench-util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'benchtests/bench-util.c') diff --git a/benchtests/bench-util.c b/benchtests/bench-util.c index d684b78054..4996f8c4ac 100644 --- a/benchtests/bench-util.c +++ b/benchtests/bench-util.c @@ -22,12 +22,12 @@ static volatile unsigned int dontoptimize = 0; void bench_start (void) { - /* This loop should cause CPU to switch to maximal freqency. + /* This loop should cause CPU to switch to maximal frequency. This makes subsequent measurement more accurate. We need a side effect to prevent the loop being deleted by compiler. This should be enough to cause CPU to speed up and it is simpler than running loop for constant time. This is used when user does not have root - access to set a constant freqency. */ + access to set a constant frequency. */ for (int k = 0; k < START_ITER; k++) dontoptimize += 23 * dontoptimize + 2; -- cgit v1.2.3