diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-09-09 16:59:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-09 16:59:23 +0200 |
| commit | 31a5b2bbbdf17fad4f3bcd61486ef67d31e1708c (patch) | |
| tree | 0f2c4686350510bf68bb6e5c5f191303ce7336c6 | |
| parent | fc66ce9dd64176d00a4e22c83383f9c0fa0db8ce (diff) | |
| parent | e5652da6dac9ce98873da05a56a3f4d9777c867a (diff) | |
Merge pull request #1151 from Kelimion/xxhash
Fix typos
| -rw-r--r-- | core/time/time_windows.odin | 3 | ||||
| -rw-r--r-- | tests/core/hash/test_core_hash.odin | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/core/time/time_windows.odin b/core/time/time_windows.odin index 6d4648b12..18a8c4046 100644 --- a/core/time/time_windows.odin +++ b/core/time/time_windows.odin @@ -24,8 +24,7 @@ _tick_now :: proc() -> Tick { return q * num + r * num / den } - // @thread_local qpc_frequency: win32.LARGE_INTEGER - qpc_frequency: win32.LARGE_INTEGER + @thread_local qpc_frequency: win32.LARGE_INTEGER if qpc_frequency == 0 { win32.QueryPerformanceFrequency(&qpc_frequency) diff --git a/tests/core/hash/test_core_hash.odin b/tests/core/hash/test_core_hash.odin index 44c7ef044..13ebedbd8 100644 --- a/tests/core/hash/test_core_hash.odin +++ b/tests/core/hash/test_core_hash.odin @@ -79,7 +79,7 @@ benchmark_xxhash64 :: proc(options: ^time.Benchmark_Options, allocator := contex } benchmark_print :: proc(name: string, options: ^time.Benchmark_Options) { - fmt.printf("\t[%v] %v rounds, %v bytes procesed in %v ns\n\t\t%5.3f rounds/s, %5.3f MiB/s\n", + fmt.printf("\t[%v] %v rounds, %v bytes processed in %v ns\n\t\t%5.3f rounds/s, %5.3f MiB/s\n", name, options.rounds, options.processed, |