Skip to content

Commit 603a1a5

Browse files
committed
fix
1 parent f8667dc commit 603a1a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pyperf/_cpu_utils.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,7 @@ def set_cpu_affinity(cpus):
171171

172172
def set_highest_priority():
173173
try:
174-
# Currently there is a packaging issue for PEP-703,
175-
# Until then psutil is disabled as a workaround.
176-
if FREE_THREADING:
174+
if not USE_PSUTIL:
177175
return
178176
else:
179177
import psutil

0 commit comments

Comments
 (0)