You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we always check if rapl filtering is active
def check_energy_filtering():
if platform.system() != 'Linux':
print(TerminalColors.WARNING, '>>>> RAPL could not be checked as not running on Linux platform <<<<', TerminalColors.ENDC)
return True
result = subprocess.run(['sudo', 'python3', '-m', 'lib.hardware_info_root', '--read-rapl-energy-filtering'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
cwd=os.path.abspath(os.path.join(CURRENT_DIR, '..')),
check=True, encoding='UTF-8')
return "1" != result.stdout.strip()
We should only do this if we are actually going to use the rapl metrics provider. As this is an ERROR check it will fail running GMT even if you are not using RAPL
The text was updated successfully, but these errors were encountered:
Currently we always check if rapl filtering is active
We should only do this if we are actually going to use the rapl metrics provider. As this is an ERROR check it will fail running GMT even if you are not using RAPL
The text was updated successfully, but these errors were encountered: