cpuinfo
nimony/lib/std/cpuinfo.nim
This module implements a proc to determine the number of CPUs / cores.
proc countProcessors(): int64Returns the number of the processors/cores the machine has. Returns 0 if it cannot be detected.
The road to Nim 3
nimony/lib/std/cpuinfo.nim
This module implements a proc to determine the number of CPUs / cores.
proc countProcessors(): int64Returns the number of the processors/cores the machine has. Returns 0 if it cannot be detected.