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 1163 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 1129 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 727 of file cmsPerfRegress.py.
References createROOT(), createSimplMemGraphs(), drawMemChangeGraphs(), drawMemGraphs(), getMemDiff(), getMemOrigScale(), getSimpleMemLogData(), getTwoGraphLimits(), Association.map, setBatch(), and setupSuperimpose().
Referenced by _main().
def cmsPerfRegress.cmpTimingReport | ( | rootfilename, | |
outdir, | |||
oldLogfile, | |||
newLogfile, | |||
secsperbin, | |||
batch = True , |
|||
prevrev = "" |
|||
) |
Definition at line 940 of file cmsPerfRegress.py.
References createROOT(), drawChanges(), drawGraphs(), drawHistos(), getLimits(), getMeanLines(), getTimingDiff(), getTimingLogData(), getTwoGraphLimits(), Association.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 143 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 547 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 490 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 467 of file cmsPerfRegress.py.
Referenced by cmpTimingReport().
def cmsPerfRegress.drawHistos | ( | histo_stack, | |
hstleg | |||
) |
Draw superimposed histograms on a separate canvas.
Definition at line 480 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 709 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 694 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport().
def cmsPerfRegress.get_max | ( | data, | |
index = 1 |
|||
) |
Get max value in data set.
Definition at line 108 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 119 of file cmsPerfRegress.py.
Referenced by getLimits(), and getTimingDiff().
def cmsPerfRegress.getLimits | ( | data, | |
secsperbin | |||
) |
Get limits to plot the graph.
Definition at line 338 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 387 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 615 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 513 of file cmsPerfRegress.py.
def cmsPerfRegress.getParameters | ( | ) |
Definition at line 67 of file cmsPerfRegress.py.
Referenced by _main(), and LMFUnique.setByID().
def cmsPerfRegress.getSimpleMemLogData | ( | logfile_name, | |
startevt, | |||
candle | |||
) |
Parse memory check data from log file.
Definition at line 183 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 398 of file cmsPerfRegress.py.
References get_max(), get_min(), and Association.map.
Referenced by cmpTimingReport().
def cmsPerfRegress.getTimingLogData | ( | logfile_name | ) |
Parse timing data from log file.
Definition at line 158 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 500 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 288 of file cmsPerfRegress.py.
References Association.map.
Referenced by cmpTimingReport().
def cmsPerfRegress.perfreport | ( | perftype, | |
file1, | |||
file2, | |||
outdir, | |||
IgProfMemopt = "" |
|||
) |
Definition at line 1046 of file cmsPerfRegress.py.
References rmtree().
Referenced by cmpCallgrindReport(), cmpEdmSizeReport(), and cmpIgProfReport().
def cmsPerfRegress.rmtree | ( | path | ) |
Definition at line 1022 of file cmsPerfRegress.py.
Referenced by showPage.createLogFiles(), and perfreport().
def cmsPerfRegress.setBatch | ( | ) |
Setup PyRoot as a batch run.
Definition at line 130 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 358 of file cmsPerfRegress.py.
Referenced by cmpSimpMemReport(), and cmpTimingReport().
def cmsPerfRegress.ungzip | ( | inf, | |
outh | |||
) |
Definition at line 1117 of file cmsPerfRegress.py.
def cmsPerfRegress.ungzip2 | ( | inf, | |
out | |||
) |
Definition at line 1126 of file cmsPerfRegress.py.
Referenced by cmpIgProfReport().
list cmsPerfRegress._cmsver = os.environ['CMSSW_VERSION'] |
Definition at line 13 of file cmsPerfRegress.py.
tuple cmsPerfRegress.values_set = ('vsize','delta_vsize','rss','delta_rss') |
Definition at line 14 of file cmsPerfRegress.py.