CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
cmsIgProf_Analysis Namespace Reference

Functions

def diff_igprof_analysis
 
def execute
 
def library_igprof_analysis
 
def simple_igprof_analysis
 

Variables

string action = 'store_true'
 
 AnalysisType = options.counter
 
string default = ''
 
string dest = 'profile'
 
string help = 'The profile to manipulate'
 
dictionary IgProfProfile
 
tuple parser = optparse.OptionParser(usage)
 
string usage = 'IgProf_Analysis.py <options>'
 

Function Documentation

def cmsIgProf_Analysis.diff_igprof_analysis (   profile_name,
  regression_profile_name,
  AnalysisType 
)
This function takes as arguments:
-a compressed (.gz) igprof output profile
-a second compressed (.gz) igprof output profile against which a regression analysis is intended to be done
-the output directory where to store the output of the regression analysis
Based on this information it automatically selects the igprof counter (PERF_TICKS, MEM_TOTAL or MEM_LIVE) to use
with igprof-analyse and it performs the regression analysis with SQLite3 output.

Definition at line 79 of file cmsIgProf_Analysis.py.

def cmsIgProf_Analysis.execute (   command)

Definition at line 17 of file cmsIgProf_Analysis.py.

Referenced by ora::RelationalBuffer.flush().

def cmsIgProf_Analysis.library_igprof_analysis (   profile_name,
  AnalysisType 
)
This function takes as arguments:
-a compressed (.gz) igprof output profile
-the output directory where to store the output of the igprof-analysis merging the results by library
Based on this information it automatically selects the igprof counter (PERF_TICKS, MEM_TOTAL or MEM_LIVE) to use
with igprof-analyse and it performs the igprof-analyse analysis merging the results by library and saving the results
in the usual igprof-navigator browseable SQLite3 format.

Definition at line 95 of file cmsIgProf_Analysis.py.

def cmsIgProf_Analysis.simple_igprof_analysis (   profile_name,
  AnalysisType,
  output_type 
)
This function takes as arguments:
-a compressed (.gz) igprof output profile
-the output directory where to store the output
-the type of output wanted
Based on this information it automatically selects the igprof counter
(PERF_TICKS, MEM_TOTAL or MEM_LIVE) to use with igprof-analyse and it
performs the analysis.
If ASCII output_type is given, it keeps only the first seven lines of
the output file (the report) allowing quick access to the totals for
the counters in order to put together summary tables.
If SQLite3 output_type is given, it simply dumps the full reports in
sqlite3 format, ready to be browsed by igprof-navigator GUI (standalone
or cgi-bin).

Definition at line 23 of file cmsIgProf_Analysis.py.

Variable Documentation

string cmsIgProf_Analysis.action = 'store_true'

Definition at line 142 of file cmsIgProf_Analysis.py.

cmsIgProf_Analysis.AnalysisType = options.counter

Definition at line 154 of file cmsIgProf_Analysis.py.

string cmsIgProf_Analysis.default = ''

Definition at line 125 of file cmsIgProf_Analysis.py.

string cmsIgProf_Analysis.dest = 'profile'

Definition at line 126 of file cmsIgProf_Analysis.py.

string cmsIgProf_Analysis.help = 'The profile to manipulate'

Definition at line 124 of file cmsIgProf_Analysis.py.

dictionary cmsIgProf_Analysis.IgProfProfile
Initial value:
1 = {'PERF_TICKS':'IgProfPerf',
2  'MEM_TOTAL':'IgProfMem',
3  'MEM_LIVE':'IgProfMem',
4  'MEM_MAX':'IgProfMem'
5  }

Definition at line 11 of file cmsIgProf_Analysis.py.

tuple cmsIgProf_Analysis.parser = optparse.OptionParser(usage)

Definition at line 122 of file cmsIgProf_Analysis.py.

string cmsIgProf_Analysis.usage = 'IgProf_Analysis.py <options>'

Definition at line 121 of file cmsIgProf_Analysis.py.