Method: Cuboid::System::Platforms::Base#cpu_count
- Defined in:
- lib/cuboid/system/platforms.rb
#cpu_count ⇒ Integer
Returns Amount of CPU cores.
67 68 69 |
# File 'lib/cuboid/system/platforms.rb', line 67 def cpu_count Concurrent.processor_count end |