Classes | |
class | EdmSizeErr |
class | Error |
class | PerfReportErr |
class | SimpMemParseErr |
class | TimingParseErr |
Functions | |
def | _main |
def | cmpCallgrindReport |
def | cmpEdmSizeReport |
def | cmpIgProfReport |
def | cmpSimpMemReport |
def | cmpTimingReport |
def | createROOT |
Create the root file to save the graphs in. More... | |
def | createSimplMemGraphs |
Create simple memory check graphs. More... | |
def | drawChanges |
Draw data differences (comparison between two data sets or releases) on a separate canvas. More... | |
def | drawGraphs |
Draw superimposed graphs on a separate canvas. More... | |
def | drawHistos |
Draw superimposed histograms on a separate canvas. More... | |
def | drawMemChangeGraphs |
Draw the comparison graphs of two memory graphs. More... | |
def | drawMemGraphs |
Draw two memory graphs superimposed on one another. More... | |
def | get_max |
Get max value in data set. More... | |
def | get_min |
Get min value in data set. More... | |
def | getLimits |
Get limits to plot the graph. More... | |
def | getMeanLines |
Plot the mean line on a graph. More... | |
def | getMemDiff |
Produce the difference of two memory data sets. More... | |
def | getMemOrigScale |
def | getNpoints |
def | getParameters |
def | getSimpleMemLogData |
Parse memory check data from log file. More... | |
def | getTimingDiff |
Get the difference in timing data (for comparison of two releases) More... | |
def | getTimingLogData |
Parse timing data from log file. More... | |
def | getTwoGraphLimits |
Get limits for two graphs that will be superimposed upon one another. More... | |
def | newGraphAndHisto |
Create a new timing graph and histogram. More... | |
def | perfreport |
def | rmtree |
def | setBatch |
Setup PyRoot as a batch run. More... | |
def | setupSuperimpose |
Setup graph information for one graph (no need to it on both if they are superimposed) More... | |
def | ungzip |
def | ungzip2 |
Variables | |
list | _cmsver = os.environ['CMSSW_VERSION'] |
tuple | values_set = ('vsize','delta_vsize','rss','delta_rss') |
|
private |
Definition at line 1164 of file cmsPerfRegress.py.
References cmpCallgrindReport(), cmpEdmSizeReport(), cmpIgProfReport(), cmpSimpMemReport(), cmpTimingReport(), and getParameters().
def cmsPerfRegress.cmpCallgrindReport | ( | outdir, | |
file1, | |||
file2 | |||
) |
def cmsPerfRegress.cmpEdmSizeReport | ( | outdir, | |
file1, | |||
file2 | |||
) |
def cmsPerfRegress.cmpIgProfReport | ( | outdir, | |
file1, | |||
file2, | |||
IgProfMemOpt = "" |
|||
) |
Definition at line 1130 of file cmsPerfRegress.py.
References perfreport(), 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(), 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 createROOT(), drawChanges(), drawGraphs(), drawHistos(), getLimits(), getMeanLines(), getTimingDiff(), getTimingLogData(), getTwoGraphLimits(), 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.
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(), and get_min().
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.
Referenced by cmpSimpMemReport().
def cmsPerfRegress.getMemOrigScale | ( | fst_min, | |
snd_min, | |||
fst_max, | |||
snd_max | |||
) |
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.
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(), and get_min().
Referenced by cmpTimingReport().
def cmsPerfRegress.getTimingLogData | ( | logfile_name | ) |
Parse timing data from log file.
Definition at line 159 of file cmsPerfRegress.py.
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.
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 | |||
) |
Definition at line 1127 of file cmsPerfRegress.py.
Referenced by cmpIgProfReport().
list cmsPerfRegress._cmsver = os.environ['CMSSW_VERSION'] |
Definition at line 14 of file cmsPerfRegress.py.
tuple cmsPerfRegress.values_set = ('vsize','delta_vsize','rss','delta_rss') |
Definition at line 15 of file cmsPerfRegress.py.