From b4ed3a99a9542aef6298df9db6662a3698ebcfb0 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Tue, 30 Dec 2025 17:38:03 -0500 Subject: [PATCH] fixing typos (#2573) --- benchmark/apple/apple_arm_events.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmark/apple/apple_arm_events.h b/benchmark/apple/apple_arm_events.h index 501ef9981..2156414e3 100644 --- a/benchmark/apple/apple_arm_events.h +++ b/benchmark/apple/apple_arm_events.h @@ -245,7 +245,7 @@ static u32 (*kpc_get_counter_count)(u32 classes); /// Get counter accumulations. /// If `all_cpus` is true, the buffer count should not smaller than -/// (cpu_count * counter_count). Otherwize, the buffer count should not smaller +/// (cpu_count * counter_count). Otherwise, the buffer count should not smaller /// than (counter_count). /// @see kpc_get_counter_count(), kpc_cpu_count(). /// @param all_cpus true for all CPUs, false for current cpu. @@ -374,7 +374,7 @@ static int kperf_lightweight_pet_set(u32 enabled) { // These functions do not require root privileges. // ----------------------------------------------------------------------------- -// KPEP CPU archtecture constants. +// KPEP CPU architecture constants. #define KPEP_ARCH_I386 0 #define KPEP_ARCH_X86_64 1 #define KPEP_ARCH_ARM 2 @@ -414,7 +414,7 @@ typedef struct kpep_db { usize fixed_counter_count; usize config_counter_count; usize power_counter_count; - u32 archtecture; ///< see `KPEP CPU archtecture constants` above. + u32 architecture; ///< see `KPEP CPU architecture constants` above. u32 fixed_counter_bits; u32 config_counter_bits; u32 power_counter_bits;