Cpu class

Class containing CPU core data

Constructors

Cpu()
Empty constructor, creates a Cpu object with default values in it
Cpu.fromData(int processor, String vendor_id, int cpu_family, int model, String model_name, int stepping, int microcode, double cpu_mhz, String cache_size, int physical_id, int siblings, int core_id, int cpu_cores, int apicid, int initial_apicid, bool fpu, bool fpu_exception, int cpuid_level, bool wp, List<String> flags, double bogomips, int clflush_size, int cache_alignment, Tuple2<String, String> address_sizes)
Constructor for creating a Cpu with data in it

Properties

address_sizes ↔ Tuple2<String, String>
getter/setter pair
apicid int
CPU apicid
getter/setter pair
bogomips double
CPU bogomips
getter/setter pair
cache_alignment int
CPU cache alignment
getter/setter pair
cache_size String
CPU cache size
getter/setter pair
clflush_size int
CPU clflush's size
getter/setter pair
core_id int
CPU core identifier
getter/setter pair
cpu_cores int
Total amount of cores
getter/setter pair
cpu_family int
CPU family
getter/setter pair
cpu_mhz double
CPU MHz
getter/setter pair
cpuid_level int
Cpuid level
getter/setter pair
flags List<String>
CPU's flags
getter/setter pair
fpu bool
If cpu has an FPU (Floating point unit)
getter/setter pair
fpu_exception bool
If FPU has an exception
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initial_apicid int
CPU initial apicid
getter/setter pair
microcode int
CPU microcode
getter/setter pair
model int
CPU model
getter/setter pair
model_name String
CPU model name
getter/setter pair
physical_id int
CPU physical id
getter/setter pair
processor int
Core number
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
siblings int
CPU siblings
getter/setter pair
stepping int
CPU stepping
getter/setter pair
vendor_id String
CPU vendor identifier
getter/setter pair
wp bool
getter/setter pair

Methods

getCpuUsagePercentage() Stream<double>
Get a Stream for handling the core usage in percentage as a double
load() List<int>
Get current core load
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited