numberOfProcessors 属性

int numberOfProcessors
final

机器的独立执行单元数量。

实现

static final numberOfProcessors = _Platform.numberOfProcessors;