Method: Garcon::ProcessorCounter#processor_count
- Defined in:
- lib/garcon/task/processor_count.rb
#processor_count ⇒ Object
Number of processors seen by the OS and used for process scheduling. For performance reasons the calculated value will be memoized on the first call.
35 36 37 |
# File 'lib/garcon/task/processor_count.rb', line 35 def processor_count @processor_count.value end |