示例#1
0
 def __init__(self, pid, exeThread, spObject, jobCPUTime, memoryLimit=0, processors=1, systemFlag='mac', jobArgs={}):
   """ Constructor, takes system flag as argument.
   """
   Watchdog.__init__(self,
                     pid=pid,
                     exeThread=exeThread,
                     spObject=spObject,
                     jobCPUTime=jobCPUTime,
                     memoryLimit=memoryLimit,
                     processors=processors,
                     systemFlag=systemFlag,
                     jobArgs=jobArgs)
示例#2
0
 def __init__(self,
              pid,
              thread,
              spObject,
              jobCPUtime,
              memoryLimit=0,
              processors=1,
              systemFlag='linux'):
     """ Constructor, takes system flag as argument.
 """
     Watchdog.__init__(self, pid, thread, spObject, jobCPUtime, memoryLimit,
                       processors, systemFlag)
示例#3
0
 def __init__( self, pid, exeThread, spObject, jobCPUTime, memoryLimit = 0, processors = 1, systemFlag = 'mac', jobArgs = {} ):
   """ Constructor, takes system flag as argument.
   """
   Watchdog.__init__( self, 
                      pid = pid, 
                      exeThread = exeThread, 
                      spObject = spObject, 
                      jobCPUTime = jobCPUTime, 
                      memoryLimit = memoryLimit, 
                      processors = processors, 
                      systemFlag = systemFlag, 
                      jobArgs = jobArgs )
示例#4
0
 def __init__(self,
              pid,
              thread,
              spObject,
              jobCPUtime,
              memoryLimit=0,
              systemFlag='mac'):
     """ Constructor, takes system flag as argument.
 """
     Watchdog.__init__(self, pid, thread, spObject, jobCPUtime, memoryLimit,
                       systemFlag)
     self.systemFlag = systemFlag
     self.pid = pid
示例#5
0
 def __init__(self, pid, thread, spObject, jobCPUtime, memoryLimit = 0, systemFlag='linux'):
   """ Constructor, takes system flag as argument.
   """
   Watchdog.__init__( self, pid, thread, spObject, jobCPUtime, memoryLimit, systemFlag )
   self.systemFlag = systemFlag
   self.pid = pid