Example #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)
Example #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)
Example #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 )
Example #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
Example #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