Processors class

Finds how many CPUs this process may really use.

In a Linux container, Platform.numberOfProcessors shows all CPUs of the host, even when the container is limited by cpuset or a CPU quota.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Properties

available → int
CPUs this process may use. Never below 1.
no setter