Commit 02a1433e authored by MICHON Nicolas's avatar MICHON Nicolas
Browse files

[dev/wiki] Removed rescue statements in cpu_parameters wiki generators

parent 948ab206
......@@ -19,14 +19,14 @@ class CPUParametersGenerator < WikiGenerator
node_hash = cluster_hash.fetch('nodes').first[1]
cpu_family = node_hash["processor"]["model"] rescue ""
cpu_version = node_hash["processor"]["version"] rescue ""
cpu_freq = node_hash["processor"]["clock_speed"] / 1000000000.0 rescue 0.0 #GHz
cpu_codename = node_hash["processor"]["microarchitecture"] rescue ""
ht_enabled = node_hash["operating_system"]["ht_enabled"] rescue false
turboboost_enabled = node_hash["operating_system"]["turboboost_enabled"] rescue false
pstate_driver = node_hash["operating_system"]["pstate_driver"] rescue ""
cstate_driver = node_hash["operating_system"]["cstate_driver"] rescue ""
cpu_family = node_hash["processor"]["model"]
cpu_version = node_hash["processor"]["version"]
cpu_freq = node_hash["processor"]["clock_speed"] / 1000000000.0
cpu_codename = node_hash["processor"]["microarchitecture"]
ht_enabled = node_hash["operating_system"]["ht_enabled"]
turboboost_enabled = node_hash["operating_system"]["turboboost_enabled"]
pstate_driver = node_hash["operating_system"]["pstate_driver"]
cstate_driver = node_hash["operating_system"]["cstate_driver"]
#One line per cluster
table_data << [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment