Public Member Functions | |
def | __init__ (self, command, profiler, profile_name) |
def | make_profile (self) |
def | make_report (self, fill_db=False, db_name=None, tmp_dir=None, outdir=None, IgProf_option=None, metastring=None) |
Public Attributes | |
command | |
profile_name | |
profiler | |
Private Member Functions | |
def | _profile_edmsize (self) |
def | _profile_igprof (self) |
def | _profile_Memcheck_Valgrind (self) |
def | _profile_None (self) |
def | _profile_SimpleMem_Parser (self) |
def | _profile_Timereport_Parser (self) |
def | _profile_Timing_Parser (self) |
def | _profile_valgrindfce (self) |
def | _save_output (self) |
Class that represents the procedure of performance report creation
Definition at line 269 of file cmsRelvalreport.py.
def cmsRelvalreport.Profile.__init__ | ( | self, | |
command, | |||
profiler, | |||
profile_name | |||
) |
Definition at line 273 of file cmsRelvalreport.py.
|
private |
Launch edm size profiler
Definition at line 356 of file cmsRelvalreport.py.
References runall.testit.command, cmsswPreprocessor.CmsswPreprocessor.command, WorkFlow.WorkFlowBlock.command, cmsRelvalreport.Profile.command, cmsRelvalreport.execute(), cmsRelvalreport.Profile.profile_name, and cmsRelvalreport.Profile.profiler.
Referenced by cmsRelvalreport.Profile.make_profile().
|
private |
IgProf profiler launcher.
Definition at line 328 of file cmsRelvalreport.py.
References runall.testit.command, cmsswPreprocessor.CmsswPreprocessor.command, WorkFlow.WorkFlowBlock.command, cmsRelvalreport.Profile.command, cmsRelvalreport.execute(), cmsRelvalreport.Profile.profile_name, and cmsRelvalreport.Profile.profiler.
Referenced by cmsRelvalreport.Profile.make_profile().
|
private |
Valgrind Memcheck profile launcher
Definition at line 389 of file cmsRelvalreport.py.
References runall.testit.command, cmsswPreprocessor.CmsswPreprocessor.command, WorkFlow.WorkFlowBlock.command, cmsRelvalreport.Profile.command, cmsRelvalreport.execute(), and cmsRelvalreport.Profile.profile_name.
Referenced by cmsRelvalreport.Profile.make_profile().
|
private |
Just Run the command!
Definition at line 456 of file cmsRelvalreport.py.
References runall.testit.command, cmsswPreprocessor.CmsswPreprocessor.command, WorkFlow.WorkFlowBlock.command, cmsRelvalreport.Profile.command, cmsRelvalreport.execute(), and cmsRelvalreport.Profile.make_report().
Referenced by cmsRelvalreport.Profile.make_profile().
|
private |
Definition at line 432 of file cmsRelvalreport.py.
References cmsRelvalreport.Profile._save_output().
Referenced by cmsRelvalreport.Profile.make_profile().
|
private |
Definition at line 427 of file cmsRelvalreport.py.
References cmsRelvalreport.Profile._save_output().
Referenced by cmsRelvalreport.Profile.make_profile().
|
private |
Definition at line 437 of file cmsRelvalreport.py.
References cmsRelvalreport.Profile._save_output().
Referenced by cmsRelvalreport.Profile.make_profile().
|
private |
Valgrind profile launcher.
Definition at line 305 of file cmsRelvalreport.py.
References runall.testit.command, cmsswPreprocessor.CmsswPreprocessor.command, WorkFlow.WorkFlowBlock.command, cmsRelvalreport.Profile.command, cmsRelvalreport.execute(), and cmsRelvalreport.Profile.profile_name.
Referenced by cmsRelvalreport.Profile.make_profile().
|
private |
Save the output of cmsRun on a file!
Definition at line 442 of file cmsRelvalreport.py.
References runall.testit.command, cmsswPreprocessor.CmsswPreprocessor.command, WorkFlow.WorkFlowBlock.command, cmsRelvalreport.Profile.command, cmsRelvalreport.execute(), and cmsRelvalreport.Profile.profile_name.
Referenced by cmsRelvalreport.Profile._profile_SimpleMem_Parser(), cmsRelvalreport.Profile._profile_Timereport_Parser(), and cmsRelvalreport.Profile._profile_Timing_Parser().
def cmsRelvalreport.Profile.make_profile | ( | self | ) |
Launch the right function according to the profiler name.
Definition at line 280 of file cmsRelvalreport.py.
References cmsRelvalreport.Profile._profile_edmsize(), cmsRelvalreport.Profile._profile_igprof(), cmsRelvalreport.Profile._profile_Memcheck_Valgrind(), cmsRelvalreport.Profile._profile_None(), cmsRelvalreport.Profile._profile_SimpleMem_Parser(), cmsRelvalreport.Profile._profile_Timereport_Parser(), cmsRelvalreport.Profile._profile_Timing_Parser(), cmsRelvalreport.Profile._profile_valgrindfce(), and cmsRelvalreport.Profile.profiler.
def cmsRelvalreport.Profile.make_report | ( | self, | |
fill_db = False , |
|||
db_name = None , |
|||
tmp_dir = None , |
|||
outdir = None , |
|||
IgProf_option = None , |
|||
metastring = None |
|||
) |
Make a performance report with CMSSW scripts for CMSSW internal profiling (Timing/SimpleMemoryCheck) and Memcheck, PR2 for edmEventSize and Callgrind (NOTE PR2 is not supported anymore and is not currently in the CMSSW external, running froma privat AFS!), igprof-analyse for all IgProf profiling.
Definition at line 470 of file cmsRelvalreport.py.
References cmsRelvalreport.execute(), createfilelist.int, cmsRelvalreport.Profile.profile_name, cmsRelvalreport.Profile.profiler, python.rootplot.root2matplotlib.replace(), split, and str.
Referenced by cmsRelvalreport.Profile._profile_None().
cmsRelvalreport.Profile.command |
Definition at line 274 of file cmsRelvalreport.py.
Referenced by cmsRelvalreport.Profile._profile_edmsize(), cmsRelvalreport.Profile._profile_igprof(), cmsRelvalreport.Profile._profile_Memcheck_Valgrind(), cmsRelvalreport.Profile._profile_None(), cmsRelvalreport.Profile._profile_valgrindfce(), and cmsRelvalreport.Profile._save_output().
cmsRelvalreport.Profile.profile_name |
Definition at line 275 of file cmsRelvalreport.py.
Referenced by cmsRelvalreport.Profile._profile_edmsize(), cmsRelvalreport.Profile._profile_igprof(), cmsRelvalreport.Profile._profile_Memcheck_Valgrind(), cmsRelvalreport.Profile._profile_valgrindfce(), cmsRelvalreport.Profile._save_output(), and cmsRelvalreport.Profile.make_report().
cmsRelvalreport.Profile.profiler |
Definition at line 276 of file cmsRelvalreport.py.
Referenced by cmsRelvalreport.Profile._profile_edmsize(), cmsRelvalreport.Profile._profile_igprof(), cmsRelvalreport.Profile.make_profile(), and cmsRelvalreport.Profile.make_report().