Facter::Processors::Base
# File lib/facter/processors/os.rb, line 146 def initialize require "cfpropertylist" @system_hardware_data = query_system_profiler end
# File lib/facter/processors/os.rb, line 151 def get_processor_count Facter::Util::POSIX.sysctl("hw.ncpu").to_i end
# File lib/facter/processors/os.rb, line 155 def get_processor_speed @system_hardware_data["current_processor_speed"] end
[Validate]
Generated with the Darkfish Rdoc Generator 2.