Found on Reddit: Cache sizes with CPUID in C++ and D
Ali Çehreli via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sun May 15 07:56:47 PDT 2016
https://www.reddit.com/r/programming/comments/4jfoez/cache_sizes_with_cpuid_in_c_and_d/
Quote from the original article: "In D, there is a cpuid module that can
retrieve cache information, but from what I've found it's incorrect."
Then the author provides a function that does it correctly.
Ali
More information about the Digitalmars-d-announce
mailing list