Correction to thread calc for benchmarking.

这个提交包含在:
Craig Warren
2016-12-05 16:01:33 +00:00
父节点 98d8269cd6
当前提交 440706f620

查看文件

@@ -205,9 +205,9 @@ def run_benchmark_sim(args, inputfile, usernamespace):
minthreads = 1
maxthreads = psutil.cpu_count(logical=False)
threads = []
while thread < maxthreads:
threads.append(int(thread))
thread *= 2
while minthreads < maxthreads:
threads.append(int(minthreads))
minthreads *= 2
threads.append(int(maxthreads))
threads.reverse()