Инструменты пользователя

Инструменты сайта


en:documentation:sysinfo_func_getcpuinfo

GetCpuInfo

GetCpuInfo [/S] <variable> <id> [<index>]

Parameters

variableName of the variable that will receive the value.
idText id of value being retrieve. All possible id's are listed in table below. Id's are case insensitive.
indexNumeric index for ProcessorFeatures id. For other id's index will be ignored. All possible indexes are listed in table below.

Switches

/SUse textual True/False in the values instead 0/1.

Supported id's

IdValueDescription
CPUStringStringProcessor Identification String (GenuineIntel, AuthenticAMD)
CPUBrandStringStringProcessor Brand String
ModelNumberModel
FamilyNumberFamily
SteppingIDNumberStepping ID
ProcessorTypeNumberProcessor Type
ExtendedModelNumberExtended model
ExtendedFamilyNumberExtended family
BrandIndexNumberBrand Index
CLFLUSHcachelinesizeNumberCLFLUSH cache line size / 8
APICPhysicalIDNumberAPIC Physical ID
SSE3NewInstructions0/1SSE3 New Instructions
MONITOR_MWAIT0/1MONITOR/MWAIT
CPLQualifiedDebugStore0/1CPL Qualified Debug Store
ThermalMonitor20/1Thermal Monitor 2
CacheLineSizeNumberCache Line Size
L2AssociativityNumberL2 Associativity
CacheSizeKNumberCache size in 1K units
ProcessorFeatures0/1Proicessor features. For retrieving value use index (table below).

<index> value for ProcessorFeatures id:

BitMnemonicDescription
0FPUx87 FPU on Chip
1VMEVirtual-8086 Mode Enhancement
2DEDebugging Extensions
3PSEPage Size Extensions
4TSCTime Stamp Counter
5MSRRDMSR and WRMSR Support
6PAEPhysical Address Extensions
7MCEMachine Check Exception
8CX8CMPXCHG8B Inst.
9APICAPIC on Chip
10n/aReserved
11SEPSYSENTER and SYSEXIT
12MTRRMemory Type Range Registers
13PGEPTE Global Bit
14MCAMachine Check Architecture
15CMOVConditional Move/Compare Instruction
16PATPage Attribute Table
17PSEPage Size Extension
18PSNProcessor Serial Number
19CLFSHCFLUSH Instruction
20n/aReserved
21DSDebug Store
22ACPIThermal Monitor and Clock Ctrl
23MMXMMX Technology
24FXSRFXSAVE/FXRSTOR
25SSESSE Extensions
26SSE2SSE2 Extensions
27SSSelf Snoop
28HTTHyper-threading technology
29TMThermal Monitor
30n/aReserved
31PBEPend. Brk. En.

Remarks

In case of success value of %ERROR% variable will be set to 0. In case of error (wrong id or no extended info available) %ERROR% value will be set to 1.

en/documentation/sysinfo_func_getcpuinfo.txt · Последние изменения: 2020/03/16 18:07 — loopback

Инструменты страницы