On Aug 3 10:15, Achim Gratz wrote: > Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes: > > Cygwin is lacking the code to fetch L3 caches and afaics, it's not > > overly simple. At least calling cpuid as for L1 and L2 caches is not > > sufficient, apparently. > > If you can use the Windows API, then this > https://msdn.microsoft.com/en-us/library/ms683194.aspx
Oh, that sounds good. I wasn't aware of this function. This and GetLogicalProcessorInformationEx on newer systems seem to help here. If nobody beats me to it I'll have a look into it at one point. > I have no patches, but another difference to Linux is that the CPU frequency > reported is the maximum (non-turbo) frequency instead of the actual one > (which could be larger or lower depending on the frequency scaling in > effect). That seems to require more infrastructure, though. Another Windows function? :) Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpUv_QCwk1rP.pgp
Description: PGP signature