Skip to content
Snippets Groups Projects

fix cpumodel

Merged Maciej Pawel Szymanski requested to merge maszyman-fix-cpumodel into master
1 file
+ 8
5
Compare changes
  • Side-by-side
  • Inline
@@ -57,10 +57,13 @@ class ThroughputProfileHandler(BaseHandler):
# harcoded info about machines
# to be replaced by using cpu_info set in lbpr-get-command
hostname = hostname.replace("lbhltperf01",
"Xeon-E5-2630")
hostname = hostname.replace("lblhcbpr14",
"Xeon-Gold-6130")
cpu_model = ""
if str(hostname) == "lbhltperf01":
cpu_model = "Xeon-E5-2630"
elif str(hostname) == "lblhcbpr14":
cpu_model = "Xeon-Gold-6130"
if cpu_model:
hostname = hostname+" ("+cpu_model+")"
trend_url = website_url+"trend_throughput_"+str(options)+"_"+str(version).split(".")[0]+"_"+hostname+".png"
@@ -162,7 +165,7 @@ class ThroughputProfileHandler(BaseHandler):
+ " "\
+ str(platform)\
+ " "\
+ hostname\
+ cpu_model\
+ "]("\
+ website_url\
+ dirname\
Loading