Improve this page Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

std.cpuid

Deprecated. It will be removed in January 2013. Please use core.cpuid instead.

Identify the characteristics of the host CPU.

Implemented according to:

- AP-485 Intel(C) Processor Identification and the CPUID Instruction http://www.intel.com/design/xeon/applnots/241618.htm

- Intel(R) 64 and IA-32 Architectures Software Developer's Manual, Volume 2A: Instruction Set Reference, A-M http://developer.intel.com/design/pentium4/manuals/index_new.htm

- AMD CPUID Specification Publication # 25481 http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/25481.pdf

Example:
import std.cpuid;
import std.stdio;

void main()
{
    writefln(std.cpuid.toString());
}

BUGS:
Only works on x86 CPUs

License:
Boost License 1.0.

Authors:
Tomas Lindquist Olsen <tomas@famolsen.dk>

Source:
std/cpuid.d