CMS 3D CMS Logo

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

Functions

def get_yaxis_range
 
def operate
 

Variables

string action = 'store'
 
string default = ''
 
string dest = 'timelog'
 
tuple dict = json.load(json_db)
 
string format = "\n { \"strips\" :\n"
 Some error handling for the usage. More...
 
string help = 'input file TIMELOG, the output of cmsTiming_parser.py'
 
tuple json_db = open(options.json_f, "r+")
 
string metavar = 'TIMELOG'
 
tuple parser = optparse.OptionParser(usage)
 
tuple script_name = os.path.basename(__file__)
 Definition of command usage. More...
 
string usage = script_name+' <options> -t TIMELOG -m MEMLOG'
 

Function Documentation

def cmsPerfStripChart.get_yaxis_range (   list)
Given a list of dictionaries, where each dict holds the information
about an IB, this function returns a tuple (low, high) with the lowest
and the highest value of y-axis, respectively. 

Definition at line 8 of file cmsPerfStripChart.py.

def cmsPerfStripChart.operate (   timelog,
  memlog,
  json_f,
  num 
)
Main operation of the script (i.e. json db update, histograms' creation)
with respect to the specifications of all the files & formats concerned.

Definition at line 21 of file cmsPerfStripChart.py.

Referenced by evf::EvFBuildingThrottle.dowork(), and main().

Variable Documentation

string cmsPerfStripChart.action = 'store'

Definition at line 249 of file cmsPerfStripChart.py.

string cmsPerfStripChart.default = ''

Definition at line 251 of file cmsPerfStripChart.py.

string cmsPerfStripChart.dest = 'timelog'

Definition at line 250 of file cmsPerfStripChart.py.

tuple cmsPerfStripChart.dict = json.load(json_db)
string cmsPerfStripChart.format = "\n { \"strips\" :\n"
string cmsPerfStripChart.help = 'input file TIMELOG, the output of cmsTiming_parser.py'

Definition at line 253 of file cmsPerfStripChart.py.

tuple cmsPerfStripChart.json_db = open(options.json_f, "r+")

Definition at line 297 of file cmsPerfStripChart.py.

string cmsPerfStripChart.metavar = 'TIMELOG'

Definition at line 252 of file cmsPerfStripChart.py.

tuple cmsPerfStripChart.parser = optparse.OptionParser(usage)

Definition at line 247 of file cmsPerfStripChart.py.

tuple cmsPerfStripChart.script_name = os.path.basename(__file__)

Definition of command usage.

#

Definition at line 245 of file cmsPerfStripChart.py.

string cmsPerfStripChart.usage = script_name+' <options> -t TIMELOG -m MEMLOG'

Definition at line 246 of file cmsPerfStripChart.py.