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 1165 of file cmsPerfRegress.py.
References cmpCallgrindReport(), cmpEdmSizeReport(), cmpIgProfReport(), cmpSimpMemReport(), cmpTimingReport(), getParameters(), and edm.print().
def cmsPerfRegress.cmpCallgrindReport | ( | outdir, | |
file1, | |||
file2 | |||
) |
Definition at line 1162 of file cmsPerfRegress.py.
References perfreport().
Referenced by _main().
def cmsPerfRegress.cmpEdmSizeReport | ( | outdir, | |
file1, | |||
file2 | |||
) |
Definition at line 1116 of file cmsPerfRegress.py.
References perfreport().
Referenced by _main().
def cmsPerfRegress.cmpIgProfReport | ( | outdir, | |
file1, | |||
file2, | |||
IgProfMemOpt = "" |
|||
) |
Definition at line 1131 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 729 of file cmsPerfRegress.py.
References createROOT(), createSimplMemGraphs(), drawMemChangeGraphs(), drawMemGraphs(), getMemDiff(), getMemOrigScale(), getSimpleMemLogData(), getTwoGraphLimits(), genParticles_cff.map, edm.print(), setBatch(), and setupSuperimpose().
Referenced by _main().
def cmsPerfRegress.cmpTimingReport | ( | rootfilename, | |
outdir, | |||
oldLogfile, | |||
newLogfile, | |||
secsperbin, | |||
batch = True , |
|||
prevrev = "" |
|||
) |
Definition at line 942 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 145 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 549 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 492 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 469 of file cmsPerfRegress.py.
Referenced by cmpTimingReport().
def cmsPerfRegress.drawHistos | ( | histo_stack, | |
hstleg | |||
) |
Draw superimposed histograms on a separate canvas.
Definition at line 482 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 711 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 696 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport().
def cmsPerfRegress.get_max | ( | data, | |
index = 1 |
|||
) |
Get max value in data set.
Definition at line 110 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 121 of file cmsPerfRegress.py.
Referenced by getLimits(), and getTimingDiff().
def cmsPerfRegress.getLimits | ( | data, | |
secsperbin | |||
) |
Get limits to plot the graph.
Definition at line 340 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 389 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 617 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 720 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport().
def cmsPerfRegress.getNpoints | ( | data | ) |
def cmsPerfRegress.getParameters | ( | ) |
Definition at line 69 of file cmsPerfRegress.py.
References edm.print().
Referenced by _main().
def cmsPerfRegress.getSimpleMemLogData | ( | logfile_name, | |
startevt, | |||
candle | |||
) |
Parse memory check data from log file.
Definition at line 185 of file cmsPerfRegress.py.
References objects.autophobj.float, createfilelist.int, and edm.print().
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 400 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 160 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 502 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 290 of file cmsPerfRegress.py.
References genParticles_cff.map, and str.
Referenced by cmpTimingReport().
def cmsPerfRegress.perfreport | ( | perftype, | |
file1, | |||
file2, | |||
outdir, | |||
IgProfMemopt = "" |
|||
) |
Definition at line 1048 of file cmsPerfRegress.py.
References edm.print(), and rmtree().
Referenced by cmpCallgrindReport(), cmpEdmSizeReport(), and cmpIgProfReport().
def cmsPerfRegress.rmtree | ( | path | ) |
Definition at line 1024 of file cmsPerfRegress.py.
References GetRecoTauVFromDQM_MC_cff.next, and edm.print().
Referenced by showPage.createLogFiles(), and perfreport().
def cmsPerfRegress.setBatch | ( | ) |
Setup PyRoot as a batch run.
Definition at line 132 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 360 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport(), and cmpTimingReport().
def cmsPerfRegress.ungzip | ( | inf, | |
outh | |||
) |
def cmsPerfRegress.ungzip2 | ( | inf, | |
out | |||
) |
|
private |
Definition at line 15 of file cmsPerfRegress.py.
cmsPerfRegress.values_set |
Definition at line 16 of file cmsPerfRegress.py.