Exemplo n.º 1
0
def generateHeatRun():
    """
    Produce heat for 8 hours
    """
    ncpus = detectCPUs()
    doFunctionOnEntryList(generateHeat,
                          entryListFileName=None,
                          entryList=range(ncpus),
                          processes_max=ncpus,
                          max_time_to_wait=8 * 60 * 60)
Exemplo n.º 2
0
def generateHeatRun():
    """
    Produce heat for 8 hours
    """
    ncpus = detectCPUs()
    doFunctionOnEntryList(generateHeat,
                        entryListFileName = None,
                        entryList = range(ncpus),
                        processes_max = ncpus,
                        max_time_to_wait = 8 * 60 * 60)
Exemplo n.º 3
0
 def test_detectCPUs(self):
     x = detectCPUs()
     nTdebug("detectCPUs: %s" % x)
     self.assertTrue(x)
Exemplo n.º 4
0
 def test_detectCPUs(self):
     x = detectCPUs()
     nTdebug("detectCPUs: %s" % x)
     self.assertTrue(x)