Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 3807de1c authored by MICHON Nicolas's avatar MICHON Nicolas
Browse files

[dev/wiki] Use operating_system hash for turboboost and ht_enabled values in...

[dev/wiki] Use operating_system hash for turboboost and ht_enabled values in CPUParameters generator
parent ee7fd2ee
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,8 @@ class CPUParametersGenerator < WikiGenerator
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["bios"]["configuration"]["ht_enabled"] rescue false
turboboost_enabled = node_hash["bios"]["configuration"]["turboboost_enabled"] rescue false
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 ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment