Platforms to show: All Mac Windows Linux Cross-Platform
Back to CPUIDMBS class.
CPUIDMBS.BrandString as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
contains the brand string, e.g. "Intel(R) Xeon(TM) CPU 2.40GHz"
See also:
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See also:
CPUIDMBS.FeatureName(index as Integer) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
A constant string like "fpu", "tsc", "sse2", etc.
See kFeature* constants.
CPUIDMBS.Flags(index as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See kFeature* constants.
CPUIDMBS.L1DataCache as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Could be zero, if the CPU lacks cache.
If the size cannot be determined, it will be -1.
Some examples using this method:
CPUIDMBS.L1InstructionCache as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Could be zero, if the CPU lacks cache. If the size cannot be determined, it will be -1.
On some Intel CPUs, whose instruction cache is in fact a trace cache, the size will be expressed in K uOps.
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Could be zero, if the CPU lacks L2 cache.
If the size of the cache could not be determined, it will be -1
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Zero on most systems.
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Some examples using this method:
CPUIDMBS.NumLogicalCPUs as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Could be more than the number of physical cores, e.g. when the processor has HyperThreading.
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See also:
CPUIDMBS.TotalLogicalCPUs as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This is num_logical_cpus * {total physical processors in the system}
If you're writing a multithreaded program and you want to run it on all CPUs, this is the number of threads you need.
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See kVendor constants.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CPUInfo | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
contains the CPU vendor string, e.g. "GenuineIntel"
The items on this page are in the following plugins: MBS Util Plugin.