std.cpuid
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
- Returns everything as a printable string
- Returns vendor string
- Returns processor string
- Is MMX supported?
- Is FXSR supported?
- Is SSE supported?
- Is SSE2 supported?
- Is SSE3 supported?
- Is SSSE3 supported?
- Is AMD 3DNOW supported?
- Is AMD 3DNOW Ext supported?
- Is AMD MMX supported?
- Is this an Intel Architecture IA64?
- Is this an AMD 64?
- Is hyperthreading supported?
- Returns number of threads per CPU
- Returns number of cores in CPU
- Is this an Intel processor?
- Is this an AMD processor?
- Returns stepping
- Returns model
- Returns family