mirror of
https://github.com/andreas-abel/nanoBench.git
synced 2026-01-06 20:30:13 +01:00
support for Goldmont Plus
This commit is contained in:
@@ -272,8 +272,6 @@ if readFile('/sys/devices/system/cpu/smt/active').startswith('1'):
|
||||
print('Note: Hyper-threading is enabled; it can be disabled with "sudo ./disable-HT.sh"', file=sys.stderr)
|
||||
|
||||
prevNMIWatchdogState = readFile('/proc/sys/kernel/nmi_watchdog').strip()
|
||||
print(prevNMIWatchdogState)
|
||||
print(prevNMIWatchdogState != '0')
|
||||
if prevNMIWatchdogState != '0':
|
||||
writeFile('/proc/sys/kernel/nmi_watchdog', '0')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user