Method: NewRelic::Agent::SystemInfo.processor_info
- Defined in:
- lib/new_relic/agent/system_info.rb
permalink .processor_info ⇒ Object
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/new_relic/agent/system_info.rb', line 58 def self.processor_info return @processor_info if @processor_info if darwin? processor_info_darwin elsif linux? processor_info_linux elsif bsd? processor_info_bsd else raise "Couldn't determine OS" end remove_bad_values @processor_info rescue @processor_info = NewRelic::EMPTY_HASH end |