Skip to content

Commit

Permalink
feat: adding an alternate CPU power
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Nov 18, 2024
1 parent 37b625a commit 2de8586
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,14 @@ def main():

gLogger.notice(f"Estimated CPU power is {cpuPower:.1f} HS06")

# Now evaluating a possible alternative CPU Power
cpuPower_alternative = cpuPower
if Operations().getValue("JobScheduling/EnableCPUNormalizationAlternative", False):
cpuPower_alternative = # insert here the alternative CPU Power evaluation

if update:
gConfig.setOptionValue("/LocalSite/CPUNormalizationFactor", cpuPower)
gConfig.setOptionValue("/LocalSite/CPUNormalizationFactor_alternative", cpuPower_alternative)

if configFile:
gConfig.dumpLocalCFGToFile(configFile)
Expand Down

0 comments on commit 2de8586

Please sign in to comment.