cpuinfo cache size
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Aug 3 13:33:00 GMT 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150803/228bd8e0/attachment.sig>
More information about the Cygwin
mailing list