digitalmars.D.announce - Found on Reddit: Cache sizes with CPUID in C++ and D
- =?UTF-8?Q?Ali_=c3=87ehreli?= (6/6) May 15 2016
- 9il (2/8) May 15 2016 Thanks!
- =?UTF-8?B?Tm9yZGzDtnc=?= (6/10) May 15 2016 But the article doesn't tell what's wrong with.
- Walter Bright (2/3) May 15 2016 https://issues.dlang.org/show_bug.cgi?id=16028
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
May 15 2016
On Sunday, 15 May 2016 at 14:56:47 UTC, Ali Çehreli wrote: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. AliThanks!
May 15 2016
On Sunday, 15 May 2016 at 14:56:47 UTC, Ali Çehreli wrote: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.But the article doesn't tell what's wrong with. So what's wrong with: import core.cpuid; const(CacheInfo)[5] dc = dataCaches(); ?
May 15 2016
On 5/15/2016 7:56 AM, Ali Çehreli wrote:Then the author provides a function that does it correctly.https://issues.dlang.org/show_bug.cgi?id=16028
May 15 2016