Skip to content
Snippets Groups Projects
Commit 6a508ce4 authored by Tom Doemiller's avatar Tom Doemiller Committed by psychocrypt
Browse files

Fix cache size detection

parent 8d06753e
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,7 @@ private:
}
L3KB_size = ((get_masked(cpu_info[1], 31, 22) + 1) * (get_masked(cpu_info[1], 21, 12) + 1) *
(get_masked(cpu_info[1], 11, 0) + 1) * (cpu_info[2] + 1)) / halfHashMemSize;
(get_masked(cpu_info[1], 11, 0) + 1) * (cpu_info[2] + 1)) / 1024;
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment