In Kernel§
See primary documentation in context for method cpu-cores
method cpu-cores(--> Int)
Instance / Class method returning the number of CPU cores that are available.
say .cpu-cores; # OUTPUT: «8»
See primary documentation in context for method cpu-cores
method cpu-cores(--> Int)
Instance / Class method returning the number of CPU cores that are available.
say .cpu-cores; # OUTPUT: «8»