代码说明:
By Kev French. CarbonSoft cxCpu provides a simple method of identifying the host processor and its features without you, the developer, having to worry about different vendors' implementations of the CPUID instruction.
Written in Object Pascal (with a smattering of inline assemby) cxCpu is suitable for use on all Microsoft Windows platforms from Windows 95/NT 4.0 upwards.
CarbonSoft cxCpu provides a comprehensive Api wrapped by a simple function library that allows you to include cxCpu functionality in your applications very easily. Built on the Api is a non-visual component for Borland Delphi and C++ Builder.
Supported features include:
Check CPUID support and maximum supported levels (Standard and Extended),
Access and query the Standard and Extended feature sets
Processor type, family, model, and stepping information (P4 extended family and model),
Vendor identification (with access to the identification string),
Processor Name (supports Marketing Name feature),
Detects OverDrive processors, and pro cessors suffering from the FDiv bug,
Supports the Processor Serial Number (PSN) feature,
Instruction set extensions such as MMX, extended MMX, SSI, 3DNow!, and extended 3DNow!,
Determine Cache levels and configuration (Level 1 code/data, and unified, Level 2),
Determine the processor speed1 (Actual and Rated).
Now distributed as open source under the terms of the MPL (Mozilla Public License).
【立即下载】
|