cpu.cores readonly


The cpu.cores property gets the number of physical CPU cores.

Example

--! luart-extensions import cpu print("CPU cores : "..cpu.cores)