Functions | |
def | optionParse () |
Parses name of datafile from the arguments. More... | |
def | printBenchmarkData (afile) |
(this could be cleaned up a little bit) Format of the data file should be: More... | |
Variables | |
datafile | |
def cmsBenchmarkReader.optionParse | ( | ) |
Parses name of datafile from the arguments.
Definition at line 9 of file cmsBenchmarkReader.py.
def cmsBenchmarkReader.printBenchmarkData | ( | afile | ) |
(this could be cleaned up a little bit) Format of the data file should be:
[ host_tuple ] # list of host data
host_tuple = ( hostname, [ command_results ]) # hostname and list of results (one for each job specification: each run)
command_results = {cpu_id: data_output} # contains a dictionary, one set of data for each cpu
For example: returned data = [ cmd_output1, cmd_output2 ... ] cmd_output1 = { cpuid1 : cpu_output1, cpuid2 : cpu_output2 ... } # cpuid is "None" if there was only one cpu used cpu_output1 = { candle1 : profset_output1, candle2 : profset_output2 ... } profset_output1 = { profset1 : profile_output1, ... } profile_output1 = { profiletype1: step_output1, ... } step_output1 = { step1: list_of_cpu_times, ... } list_of_cpu_times = [ (evt_num1, secs1), ... ]
Definition at line 44 of file cmsBenchmarkReader.py.
References edm.print(), and str.
cmsBenchmarkReader.datafile |
Definition at line 80 of file cmsBenchmarkReader.py.