コード例 #1
0
	def __init__(self, config):
		PartitionProcessor.__init__(self, config)
		self._filter = config.getFilter('partition location filter', '', onChange = None,
			defaultMatcher = 'blackwhite', defaultFilter = 'weak')
		self._preference = config.getList('partition location preference', [], onChange = None)
		self._reqs = config.getBool('partition location requirement', True, onChange = None)
		self._disable = config.getBool('partition location check', True, onChange = None)
コード例 #2
0
	def __init__(self, config, datasource_name):
		PartitionProcessor.__init__(self, config, datasource_name)
		self._filter = config.get_filter(self._get_pproc_opt('location filter'),
			default='', default_matcher='BlackWhiteMatcher', default_filter='WeakListFilter')
		self._preference = config.get_list(self._get_pproc_opt('location preference'), [])
		self._reqs = config.get_bool(self._get_pproc_opt('location requirement'), True)
		self._disable = config.get_bool(self._get_pproc_opt('location check'), True)
コード例 #3
0
	def __init__(self, config):
		PartitionProcessor.__init__(self, config)
		self._wtfactor = config.getFloat('partition walltime factor', -1, onChange = None)
		self._wtoffset = config.getFloat('partition walltime offset', 0, onChange = None)
		self._ctfactor = config.getFloat('partition cputime factor', -1, onChange = None)
		self._ctoffset = config.getFloat('partition cputime offset', 0, onChange = None)
		self._memfactor = config.getFloat('partition memory factor', -1, onChange = None)
		self._memoffset = config.getFloat('partition memory offset', 0, onChange = None)
コード例 #4
0
	def __init__(self, config, datasource_name):
		PartitionProcessor.__init__(self, config, datasource_name)
		self._vn_file_names = config.get(self._get_pproc_opt('variable file names'), 'FILE_NAMES')
		self._fn_list_delim = config.get(self._get_pproc_opt('file names delimeter'), '') or ' '
		self._fn_list_format = config.get(self._get_pproc_opt('file names format'), '%s')
		self._vn_max_events = config.get(self._get_pproc_opt('variable max events'), 'MAX_EVENTS')
		self._vn_skip_events = config.get(self._get_pproc_opt('variable skip events'), 'SKIP_EVENTS')
		self._vn_prefix = config.get(self._get_pproc_opt('variable prefix'), datasource_name.upper())
コード例 #5
0
	def __init__(self, config, datasource_name):
		PartitionProcessor.__init__(self, config, datasource_name)
		self._wt_offset = config.get_float(self._get_pproc_opt('walltime offset'), 0.)
		self._wt_factor = config.get_float(self._get_pproc_opt('walltime factor'), 0.)
		self._ct_offset = config.get_float(self._get_pproc_opt('cputime offset'), 0.)
		self._ct_factor = config.get_float(self._get_pproc_opt('cputime factor'), 0.)
		self._mem_offset = config.get_float(self._get_pproc_opt('memory offset'), 0.)
		self._mem_factor = config.get_float(self._get_pproc_opt('memory factor'), 0.)
コード例 #6
0
ファイル: pproc_basic.py プロジェクト: whahmad/grid-control
 def __init__(self, config):
     PartitionProcessor.__init__(self, config)
     self._filter = config.getFilter('partition location filter',
                                     '',
                                     onChange=None,
                                     defaultMatcher='blackwhite',
                                     defaultFilter='weak')
     self._preference = config.getList('partition location preference', [],
                                       onChange=None)
     self._reqs = config.getBool('partition location requirement',
                                 True,
                                 onChange=None)
     self._disable = config.getBool('partition location check',
                                    True,
                                    onChange=None)
コード例 #7
0
ファイル: pproc_basic.py プロジェクト: whahmad/grid-control
 def __init__(self, config):
     PartitionProcessor.__init__(self, config)
     self._wtfactor = config.getFloat('partition walltime factor',
                                      -1,
                                      onChange=None)
     self._wtoffset = config.getFloat('partition walltime offset',
                                      0,
                                      onChange=None)
     self._ctfactor = config.getFloat('partition cputime factor',
                                      -1,
                                      onChange=None)
     self._ctoffset = config.getFloat('partition cputime offset',
                                      0,
                                      onChange=None)
     self._memfactor = config.getFloat('partition memory factor',
                                       -1,
                                       onChange=None)
     self._memoffset = config.getFloat('partition memory offset',
                                       0,
                                       onChange=None)
コード例 #8
0
ファイル: pproc_basic.py プロジェクト: whahmad/grid-control
 def __init__(self, config):
     PartitionProcessor.__init__(self, config)
     self._tfc = config.getLookup('partition tfc', {}, onChange=None)
コード例 #9
0
ファイル: pproc_basic.py プロジェクト: whahmad/grid-control
 def __init__(self, config):
     PartitionProcessor.__init__(self, config)
     self._metadata = config.getList('partition metadata', [],
                                     onChange=None)
コード例 #10
0
	def __init__(self, config):
		PartitionProcessor.__init__(self, config)
		self._metadata = config.getList('partition metadata', [], onChange = None)
コード例 #11
0
	def __init__(self, config):
		PartitionProcessor.__init__(self, config)
		self._tfc = config.getLookup('partition tfc', {}, onChange = None)
コード例 #12
0
	def __init__(self, config, datasource_name):
		PartitionProcessor.__init__(self, config, datasource_name)
		self._tfc = config.get_lookup(self._get_pproc_opt('tfc'), {})
コード例 #13
0
	def __init__(self, config, datasource_name):
		PartitionProcessor.__init__(self, config, datasource_name)
		self._metadata_list = config.get_list(self._get_pproc_opt('metadata'), [])