This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cpuinfo cache size

On Aug  3 10:15, Achim Gratz wrote:
> Corinna Vinschen <corinna-cygwin <at>> 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

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? :)


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpozYbmHiid3.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]