Re: Source code for CPUCount20 Intel utility
- From: "Scherbina Vladimir" <vladimir.scherbina@xxxxxxxxx>
- Date: Thu, 26 Jan 2006 11:59:55 +0200
"Dorel Sturm" <dodo@xxxxxxxxxxxxxxxxxxx> wrote in message
news:dra2ua$3r1$1@xxxxxxxxxxxxxxxxxxx
> Hi Vladimir,
>
> Thanks for the code suggstion and the link to CPUID utility. This is a
> Microsoft example about how to use CPUID instruction. However this code
> does not have example how to use CPUID:4 to get the number of cores
> (sigle/multiple core processor).
>
> Any ideas how to use CPUID:4 instruction. I guess I need to do something
> special before calling CPUID:4 otherwise I get in EAX all the time 0. But
> what?
>
> Dorel Sturm
The link you wrote is not broken. They just published instead of source code
compiled binary :). If you're familiar with assembler language you can debug
that binary, at .text:004011BC they begun to use cpuid command.
--
Vladimir
.
- Follow-Ups:
- Re: Source code for CPUCount20 Intel utility
- From: Pavel A.
- Re: Source code for CPUCount20 Intel utility
- References:
- Source code for CPUCount20 Intel utility
- From: Dorel Sturm
- Re: Source code for CPUCount20 Intel utility
- From: Scherbina Vladimir
- Re: Source code for CPUCount20 Intel utility
- From: Dorel Sturm
- Source code for CPUCount20 Intel utility
- Prev by Date: How to do RegisterWaitForSingleObject for service stop event?
- Next by Date: How to access the desktop of the interactive user?
- Previous by thread: Re: Source code for CPUCount20 Intel utility
- Next by thread: Re: Source code for CPUCount20 Intel utility
- Index(es):
Relevant Pages
|