CMS 3D CMS Logo

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

Functions

def _main
 
def getCPSkeyword
 
def optionparse
 
def readlog
 
def request_benchmark
 
def runserv
 

Variables

string _CASTOR_DIR = "/castor/cern.ch/cms/store/relval/performance/"
 
dictionary _DEFAULTS
 
 _logreturn = False
 
tuple _outputdir = os.getcwd()
 
tuple _PROG_NAME = os.path.basename(sys.argv[0])
 
int _reqnumber = 0
 
string CandlesString = ""
 

Function Documentation

def cmsPerfServer._main ( )
private

Definition at line 282 of file cmsPerfServer.py.

def cmsPerfServer.getCPSkeyword (   key,
  dict 
)

Definition at line 148 of file cmsPerfServer.py.

def cmsPerfServer.optionparse ( )

Definition at line 50 of file cmsPerfServer.py.

def cmsPerfServer.readlog (   logfile)

Definition at line 139 of file cmsPerfServer.py.

def cmsPerfServer.request_benchmark (   cmds)

Definition at line 155 of file cmsPerfServer.py.

def cmsPerfServer.runserv (   port)

Definition at line 91 of file cmsPerfServer.py.

Variable Documentation

string cmsPerfServer._CASTOR_DIR = "/castor/cern.ch/cms/store/relval/performance/"

Definition at line 20 of file cmsPerfServer.py.

dictionary cmsPerfServer._DEFAULTS
Initial value:
1 = {"castordir" : _CASTOR_DIR,
2  "perfsuitedir" : os.getcwd(),
3  "TimeSizeEvents" : 100 ,
4  "TimeSizeCandles" : "",
5  "TimeSizePUCandles" : "",
6  "IgProfEvents" : 0 ,
7  "IgProfCandles" : "" ,
8  "IgProfPUCandles" : "" ,
9  "CallgrindEvents" : 0 ,
10  "CallgrindCandles" : "" ,
11  "CallgrindPUCandles" : "" ,
12  "MemcheckEvents" : 0 ,
13  "MemcheckCandles" : "" ,
14  "MemcheckPUCandles" : "" ,
15  "cmsScimark" : 10 ,
16  "cmsScimarkLarge" : 10 ,
17  "cmsdriverOptions" : cmsRelValCmd.get_cmsDriverOptions(), #Get these options automatically now!
18  "stepOptions" : "" ,
19  "quicktest" : False ,
20  "profilers" : "" ,
21  "cpus" : "1" ,
22  "cores" : cmsCpuInfo.get_NumOfCores(), #Get this option automatically
23  "prevrel" : "" ,
24  "isAllCandles" : True ,
25  #"candles" : CandlesString[1:] ,
26  "bypasshlt" : False ,
27  "runonspare" : True ,
28  "logfile" : os.path.join(os.getcwd(),"cmsPerfSuite.log")}
def get_NumOfCores
Definition: cmsCpuInfo.py:6
def get_cmsDriverOptions
Definition: cmsRelValCmd.py:12

Definition at line 21 of file cmsPerfServer.py.

cmsPerfServer._logreturn = False

Definition at line 18 of file cmsPerfServer.py.

tuple cmsPerfServer._outputdir = os.getcwd()

Definition at line 16 of file cmsPerfServer.py.

tuple cmsPerfServer._PROG_NAME = os.path.basename(sys.argv[0])

Definition at line 19 of file cmsPerfServer.py.

int cmsPerfServer._reqnumber = 0

Definition at line 17 of file cmsPerfServer.py.

string cmsPerfServer.CandlesString = ""

Definition at line 12 of file cmsPerfServer.py.