dragon.native.machine

The Dragon native machine interface provides hardware related functionality.

These calls return various hardware properties of the system(s), like the number of processors or a list of all nodes.

Functions

cpu_count()

Return the number of CPUs in this system.

current()

Return a node object for this process.

Classes

Node

System

cpu_count() int

Return the number of CPUs in this system.

Returns

integer representing the number of cpus

current() Node

Return a node object for this process.

Returns

Node object

Return type

Node