Method: Garcon::ProcessorCounter#physical_processor_count
- Defined in:
- lib/garcon/task/processor_count.rb
#physical_processor_count ⇒ Object
Number of physical processor cores on the current system. For performance reasons the calculated value will be memoized on the first call.
42 43 44 |
# File 'lib/garcon/task/processor_count.rb', line 42 def physical_processor_count @physical_processor_count.value end |