Skip to content

Commit

Permalink
fix intel cpu boost path
Browse files Browse the repository at this point in the history
  • Loading branch information
aarron-lee committed Sep 28, 2024
1 parent 95051ab commit a0fa1ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_modules/cpu_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def set_cpb_boost(enabled):
if device_utils.is_intel():
if os.path.exists(INTEL_CPU_BOOST_PATH):
try:
with open(p, 'w') as file:
with open(INTEL_CPU_BOOST_PATH, 'w') as file:
# sys endpoint is named 'no_turbo'
# so no_turbo == 0 == cpu boost on
# no_turbo == 1 == cpu boost off
Expand Down

0 comments on commit a0fa1ca

Please sign in to comment.