Classes | |
class | EdmSizeErr |
class | Error |
class | PerfReportErr |
class | SimpMemParseErr |
class | TimingParseErr |
Functions | |
def | _main () |
def | cmpCallgrindReport (outdir, file1, file2) |
def | cmpEdmSizeReport (outdir, file1, file2) |
def | cmpIgProfReport (outdir, file1, file2, IgProfMemOpt="") |
def | cmpSimpMemReport (rootfilename, outdir, oldLogfile, newLogfile, startevt, batch=True, candle="", prevrev="") |
def | cmpTimingReport (rootfilename, outdir, oldLogfile, newLogfile, secsperbin, batch=True, prevrev="") |
def | createROOT (outdir, filename) |
Create the root file to save the graphs in. More... | |
def | createSimplMemGraphs (data, npoints, graph_num, legs, prevrev="") |
Create simple memory check graphs. More... | |
def | drawChanges (graph, chgleg) |
Draw data differences (comparison between two data sets or releases) on a separate canvas. More... | |
def | drawGraphs (graph1, graph2, avg1, avg2, leg) |
Draw superimposed graphs on a separate canvas. More... | |
def | drawHistos (histo_stack, hstleg) |
Draw superimposed histograms on a separate canvas. More... | |
def | drawMemChangeGraphs (graph, leg, memtype, stepname) |
Draw the comparison graphs of two memory graphs. More... | |
def | drawMemGraphs (graph1, graph2, min_val, max_val, last_event, leg, memtype, stepname) |
Draw two memory graphs superimposed on one another. More... | |
def | get_max (data, index=1) |
Get max value in data set. More... | |
def | get_min (data, index=1) |
Get min value in data set. More... | |
def | getLimits (data, secsperbin) |
Get limits to plot the graph. More... | |
def | getMeanLines (avg, last_event, graph_num) |
Plot the mean line on a graph. More... | |
def | getMemDiff (data1, data2, npoints, last_event, orig_max_val, stepname, rss=False) |
Produce the difference of two memory data sets. More... | |
def | getMemOrigScale (fst_min, snd_min, fst_max, snd_max) |
def | getNpoints (data) |
def | getParameters () |
def | getSimpleMemLogData (logfile_name, startevt, candle) |
Parse memory check data from log file. More... | |
def | getTimingDiff (data1, data2, npoints, last_event, orig_max_val) |
Get the difference in timing data (for comparison of two releases) More... | |
def | getTimingLogData (logfile_name) |
Parse timing data from log file. More... | |
def | getTwoGraphLimits (last_event1, max_val1, last_event2, max_val2, min_val1=-1, min_val2=-1) |
Get limits for two graphs that will be superimposed upon one another. More... | |
def | newGraphAndHisto (histoleg, leg, npoints, nbins, min_val, max_val, data, graph_num, prevrev="") |
Create a new timing graph and histogram. More... | |
def | perfreport (perftype, file1, file2, outdir, IgProfMemopt="") |
def | rmtree (path) |
def | setBatch () |
Setup PyRoot as a batch run. More... | |
def | setupSuperimpose (graph1, graph2, last_event, max_val, reporttype=0, title="") |
Setup graph information for one graph (no need to it on both if they are superimposed) More... | |
def | ungzip (inf, outh) |
def | ungzip2 (inf, out) |
Variables | |
_cmsver | |
values_set | |
|
private |
Definition at line 1164 of file cmsPerfRegress.py.
References cmpCallgrindReport(), cmpEdmSizeReport(), cmpIgProfReport(), cmpSimpMemReport(), cmpTimingReport(), and getParameters().
def cmsPerfRegress.cmpCallgrindReport | ( | outdir, | |
file1, | |||
file2 | |||
) |
Definition at line 1161 of file cmsPerfRegress.py.
References perfreport().
Referenced by _main().
def cmsPerfRegress.cmpEdmSizeReport | ( | outdir, | |
file1, | |||
file2 | |||
) |
Definition at line 1115 of file cmsPerfRegress.py.
References perfreport().
Referenced by _main().
def cmsPerfRegress.cmpIgProfReport | ( | outdir, | |
file1, | |||
file2, | |||
IgProfMemOpt = "" |
|||
) |
Definition at line 1130 of file cmsPerfRegress.py.
References perfreport(), str, and ungzip2().
Referenced by _main().
def cmsPerfRegress.cmpSimpMemReport | ( | rootfilename, | |
outdir, | |||
oldLogfile, | |||
newLogfile, | |||
startevt, | |||
batch = True , |
|||
candle = "" , |
|||
prevrev = "" |
|||
) |
Definition at line 728 of file cmsPerfRegress.py.
References createROOT(), createSimplMemGraphs(), drawMemChangeGraphs(), drawMemGraphs(), getMemDiff(), getMemOrigScale(), getSimpleMemLogData(), getTwoGraphLimits(), genParticles_cff.map, setBatch(), and setupSuperimpose().
Referenced by _main().
def cmsPerfRegress.cmpTimingReport | ( | rootfilename, | |
outdir, | |||
oldLogfile, | |||
newLogfile, | |||
secsperbin, | |||
batch = True , |
|||
prevrev = "" |
|||
) |
Definition at line 941 of file cmsPerfRegress.py.
References mps_check.array, createROOT(), drawChanges(), drawGraphs(), drawHistos(), getLimits(), getMeanLines(), getTimingDiff(), getTimingLogData(), getTwoGraphLimits(), genParticles_cff.map, newGraphAndHisto(), setBatch(), and setupSuperimpose().
Referenced by _main().
def cmsPerfRegress.createROOT | ( | outdir, | |
filename | |||
) |
Create the root file to save the graphs in.
Definition at line 144 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport(), and cmpTimingReport().
def cmsPerfRegress.createSimplMemGraphs | ( | data, | |
npoints, | |||
graph_num, | |||
legs, | |||
prevrev = "" |
|||
) |
Create simple memory check graphs.
Definition at line 548 of file cmsPerfRegress.py.
References objects.autophobj.float, and str.
Referenced by cmpSimpMemReport().
def cmsPerfRegress.drawChanges | ( | graph, | |
chgleg | |||
) |
Draw data differences (comparison between two data sets or releases) on a separate canvas.
Definition at line 491 of file cmsPerfRegress.py.
Referenced by cmpTimingReport().
def cmsPerfRegress.drawGraphs | ( | graph1, | |
graph2, | |||
avg1, | |||
avg2, | |||
leg | |||
) |
Draw superimposed graphs on a separate canvas.
Definition at line 468 of file cmsPerfRegress.py.
Referenced by cmpTimingReport().
def cmsPerfRegress.drawHistos | ( | histo_stack, | |
hstleg | |||
) |
Draw superimposed histograms on a separate canvas.
Definition at line 481 of file cmsPerfRegress.py.
Referenced by cmpTimingReport().
def cmsPerfRegress.drawMemChangeGraphs | ( | graph, | |
leg, | |||
memtype, | |||
stepname | |||
) |
Draw the comparison graphs of two memory graphs.
Definition at line 710 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport().
def cmsPerfRegress.drawMemGraphs | ( | graph1, | |
graph2, | |||
min_val, | |||
max_val, | |||
last_event, | |||
leg, | |||
memtype, | |||
stepname | |||
) |
Draw two memory graphs superimposed on one another.
Definition at line 695 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport().
def cmsPerfRegress.get_max | ( | data, | |
index = 1 |
|||
) |
Get max value in data set.
Definition at line 109 of file cmsPerfRegress.py.
Referenced by getLimits(), and getTimingDiff().
def cmsPerfRegress.get_min | ( | data, | |
index = 1 |
|||
) |
Get min value in data set.
Definition at line 120 of file cmsPerfRegress.py.
Referenced by getLimits(), and getTimingDiff().
def cmsPerfRegress.getLimits | ( | data, | |
secsperbin | |||
) |
Get limits to plot the graph.
Definition at line 339 of file cmsPerfRegress.py.
References get_max(), get_min(), and createfilelist.int.
Referenced by cmpTimingReport().
def cmsPerfRegress.getMeanLines | ( | avg, | |
last_event, | |||
graph_num | |||
) |
Plot the mean line on a graph.
Definition at line 388 of file cmsPerfRegress.py.
Referenced by cmpTimingReport().
def cmsPerfRegress.getMemDiff | ( | data1, | |
data2, | |||
npoints, | |||
last_event, | |||
orig_max_val, | |||
stepname, | |||
rss = False |
|||
) |
Produce the difference of two memory data sets.
Definition at line 616 of file cmsPerfRegress.py.
References objects.autophobj.float, createfilelist.int, and str.
Referenced by cmpSimpMemReport().
def cmsPerfRegress.getMemOrigScale | ( | fst_min, | |
snd_min, | |||
fst_max, | |||
snd_max | |||
) |
Definition at line 719 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport().
def cmsPerfRegress.getNpoints | ( | data | ) |
Definition at line 514 of file cmsPerfRegress.py.
def cmsPerfRegress.getParameters | ( | ) |
Definition at line 68 of file cmsPerfRegress.py.
Referenced by _main().
def cmsPerfRegress.getSimpleMemLogData | ( | logfile_name, | |
startevt, | |||
candle | |||
) |
Parse memory check data from log file.
Definition at line 184 of file cmsPerfRegress.py.
References objects.autophobj.float, and createfilelist.int.
Referenced by cmpSimpMemReport().
def cmsPerfRegress.getTimingDiff | ( | data1, | |
data2, | |||
npoints, | |||
last_event, | |||
orig_max_val | |||
) |
Get the difference in timing data (for comparison of two releases)
Definition at line 399 of file cmsPerfRegress.py.
References get_max(), get_min(), createfilelist.int, genParticles_cff.map, and str.
Referenced by cmpTimingReport().
def cmsPerfRegress.getTimingLogData | ( | logfile_name | ) |
Parse timing data from log file.
Definition at line 159 of file cmsPerfRegress.py.
References objects.autophobj.float, and createfilelist.int.
Referenced by cmpTimingReport().
def cmsPerfRegress.getTwoGraphLimits | ( | last_event1, | |
max_val1, | |||
last_event2, | |||
max_val2, | |||
min_val1 = -1 , |
|||
min_val2 = -1 |
|||
) |
Get limits for two graphs that will be superimposed upon one another.
Definition at line 501 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport(), and cmpTimingReport().
def cmsPerfRegress.newGraphAndHisto | ( | histoleg, | |
leg, | |||
npoints, | |||
nbins, | |||
min_val, | |||
max_val, | |||
data, | |||
graph_num, | |||
prevrev = "" |
|||
) |
Create a new timing graph and histogram.
Definition at line 289 of file cmsPerfRegress.py.
References genParticles_cff.map, and str.
Referenced by cmpTimingReport().
def cmsPerfRegress.perfreport | ( | perftype, | |
file1, | |||
file2, | |||
outdir, | |||
IgProfMemopt = "" |
|||
) |
Definition at line 1047 of file cmsPerfRegress.py.
References rmtree().
Referenced by cmpCallgrindReport(), cmpEdmSizeReport(), and cmpIgProfReport().
def cmsPerfRegress.rmtree | ( | path | ) |
Definition at line 1023 of file cmsPerfRegress.py.
References GetRecoTauVFromDQM_MC_cff.next.
Referenced by showPage.createLogFiles(), and perfreport().
def cmsPerfRegress.setBatch | ( | ) |
Setup PyRoot as a batch run.
Definition at line 131 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport(), and cmpTimingReport().
def cmsPerfRegress.setupSuperimpose | ( | graph1, | |
graph2, | |||
last_event, | |||
max_val, | |||
reporttype = 0 , |
|||
title = "" |
|||
) |
Setup graph information for one graph (no need to it on both if they are superimposed)
Definition at line 359 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport(), and cmpTimingReport().
def cmsPerfRegress.ungzip | ( | inf, | |
outh | |||
) |
Definition at line 1118 of file cmsPerfRegress.py.
def cmsPerfRegress.ungzip2 | ( | inf, | |
out | |||
) |
|
private |
Definition at line 14 of file cmsPerfRegress.py.
cmsPerfRegress.values_set |
Definition at line 15 of file cmsPerfRegress.py.