def coreNumRange(benchNum, taskNum, beta): for coreNum in (4, 8, 16, 24, 32, 40, 48, 56, 64): bench = genTask(benchNum, taskNum, coreNum, beta) '''for i in range(benchNum): print("bench",i, "is", bench)''' for i in range(benchNum): comp(bench[i], coreNum, taskNum, beta)
def betaNumRange(benchNum, taskNum, coreNum): for beta in range(1, 11, 1): bench = genTask(benchNum, taskNum, coreNum, beta) '''for i in range(benchNum): print("bench",i, "is", bench)''' for i in range(benchNum): comp(bench[i], coreNum, taskNum, beta)
def taskNumRange(benchNum, coreNum, beta): for taskNum in range(10, 101, 10): bench = genTask(benchNum, taskNum, coreNum, beta) '''for i in range(benchNum): print("bench",i, "is", bench)''' for i in range(benchNum): comp(bench[i], coreNum, taskNum, beta)