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 minthreads = 1
maxthreads = psutil.cpu_count(logical=False) maxthreads = psutil.cpu_count(logical=False)
threads = [] threads = []
while thread < maxthreads: while minthreads < maxthreads:
threads.append(int(thread)) threads.append(int(minthreads))
thread *= 2 minthreads *= 2
threads.append(int(maxthreads)) threads.append(int(maxthreads))
threads.reverse() threads.reverse()