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
Return the number of CPUs in this system. |
|
|
Return a node object for this process. |
Classes
|
|
|
- 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