en:autorun:documentation:sysinfo_func_getcpuinfo
GetCpuInfo
GetCpuInfo [/S] <VAR> <id> [<index>]
Return some info about CPU features.
Parameters
id | Text id of value being retrieve. All possible id's are listed in table below. Id's are case insensitive. |
index | Numeric index for ProcessorFeatures id. For other id's index will be ignored. All possible indexes are listed in table below. |
Switches
/S | Use textual True/False in the values instead 0/1. |
Supported id's
Id | Value | Description |
---|---|---|
CPUString | String | Processor Identification String (GenuineIntel, AuthenticAMD) |
CPUBrandString | String | Processor Brand String |
Model | Number | Model |
Family | Number | Family |
SteppingID | Number | Stepping ID |
ProcessorType | Number | Processor Type |
ExtendedModel | Number | Extended model |
ExtendedFamily | Number | Extended family |
BrandIndex | Number | Brand Index |
CLFLUSHcachelinesize | Number | CLFLUSH cache line size / 8 |
APICPhysicalID | Number | APIC Physical ID |
SSE3NewInstructions | 0/1 | SSE3 New Instructions |
MONITOR_MWAIT | 0/1 | MONITOR/MWAIT |
CPLQualifiedDebugStore | 0/1 | CPL Qualified Debug Store |
ThermalMonitor2 | 0/1 | Thermal Monitor 2 |
CacheLineSize | Number | Cache Line Size |
L2Associativity | Number | L2 Associativity |
CacheSizeK | Number | Cache size in 1K units |
ProcessorFeatures | 0/1 | Proicessor features. For retrieving value use index (table below). |
<index> value for ProcessorFeatures id:
Bit | Mnemonic | Description |
---|---|---|
0 | FPU | x87 FPU on Chip |
1 | VME | Virtual-8086 Mode Enhancement |
2 | DE | Debugging Extensions |
3 | PSE | Page Size Extensions |
4 | TSC | Time Stamp Counter |
5 | MSR | RDMSR and WRMSR Support |
6 | PAE | Physical Address Extensions |
7 | MCE | Machine Check Exception |
8 | CX8 | CMPXCHG8B Inst. |
9 | APIC | APIC on Chip |
10 | n/a | Reserved |
11 | SEP | SYSENTER and SYSEXIT |
12 | MTRR | Memory Type Range Registers |
13 | PGE | PTE Global Bit |
14 | MCA | Machine Check Architecture |
15 | CMOV | Conditional Move/Compare Instruction |
16 | PAT | Page Attribute Table |
17 | PSE | Page Size Extension |
18 | PSN | Processor Serial Number |
19 | CLFSH | CFLUSH Instruction |
20 | n/a | Reserved |
21 | DS | Debug Store |
22 | ACPI | Thermal Monitor and Clock Ctrl |
23 | MMX | MMX Technology |
24 | FXSR | FXSAVE/FXRSTOR |
25 | SSE | SSE Extensions |
26 | SSE2 | SSE2 Extensions |
27 | SS | Self Snoop |
28 | HTT | Hyper-threading technology |
29 | TM | Thermal Monitor |
30 | n/a | Reserved |
31 | PBE | Pend. Brk. En. |
Remarks
In case of success value of ERROR macro will be set to 0. In case of error (wrong id or no extended info available) ERROR value will be set to 1.
en/autorun/documentation/sysinfo_func_getcpuinfo.txt · Последнее изменение: 2022/09/26 14:53 — loopback