Beispiel #1
0
Datei: lib.py Projekt: mxm/yoka
 def __str__(self):
     s = "%s:\n\n" % self.id
     for system in self.systems:
         s += "%s config:\n%s\n\n" % (system, pformat(system.config))
     s += "\n"
     for run_time in self.runs:
         s += Timer.format_run_times(run_time)
         s += "\n"
     s += "\n"
     return s
Beispiel #2
0
Datei: lib.py Projekt: mxm/yoka
 def __str__(self):
     s = "%s:\n\n" % self.id
     for system in self.systems:
         s += "%s config:\n%s\n\n" % (system, pformat(system.config))
     s += "\n"
     for run_time in self.runs:
         s += Timer.format_run_times(run_time)
         s += "\n"
     s += "\n"
     return s
Beispiel #3
0
Datei: lib.py Projekt: mxm/yoka
 def __str__(self):
     # print run times
     s = "Cluster suite %s\n\n" % self.id
     s += Timer.format_run_times(self.run_times)
     s += "\n"
     # print system configs
     s += "Cluster %s config\n%s\n\n" % (self.cluster.__class__.__name__, pformat(self.cluster.config))
     for system in self.systems:
         s += "%s config:\n%s\n\n" % (system, pformat(system.config))
     s += "\n"
     # print benchmark times and system configs
     for benchmark in self.benchmarks:
         s += "%s\n\n" % benchmark
     return s
Beispiel #4
0
Datei: lib.py Projekt: mxm/yoka
 def __str__(self):
     # print run times
     s = "Cluster suite %s\n\n" % self.id
     s += Timer.format_run_times(self.run_times)
     s += "\n"
     # print system configs
     s += "Cluster %s config\n%s\n\n" % (self.cluster.__class__.__name__,
                                         pformat(self.cluster.config))
     for system in self.systems:
         s += "%s config:\n%s\n\n" % (system, pformat(system.config))
     s += "\n"
     # print benchmark times and system configs
     for benchmark in self.benchmarks:
         s += "%s\n\n" % benchmark
     return s