mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=12140
This commit is contained in:
parent
6ff0977570
commit
fda330f758
|
@ -1924,3 +1924,9 @@ David 22 Feb 2007
|
||||||
app_control.C
|
app_control.C
|
||||||
log_flags.C,h
|
log_flags.C,h
|
||||||
sim.C
|
sim.C
|
||||||
|
|
||||||
|
David 22 Feb 2007
|
||||||
|
- core client, Win: set processor affinity mask for benchmark threads
|
||||||
|
|
||||||
|
client/
|
||||||
|
cs_benchmark.C
|
||||||
|
|
|
@ -217,9 +217,7 @@ void CLIENT_STATE::start_cpu_benchmarks() {
|
||||||
NULL, 0, win_cpu_benchmarks, benchmark_descs+i, 0,
|
NULL, 0, win_cpu_benchmarks, benchmark_descs+i, 0,
|
||||||
&benchmark_descs[i].pid
|
&benchmark_descs[i].pid
|
||||||
);
|
);
|
||||||
|
SetThreadAffinityMask(benchmark_descs[i].handle, 1<<i);
|
||||||
// lower our priority here
|
|
||||||
//
|
|
||||||
SetThreadPriority(benchmark_descs[i].handle, THREAD_PRIORITY_IDLE);
|
SetThreadPriority(benchmark_descs[i].handle, THREAD_PRIORITY_IDLE);
|
||||||
#else
|
#else
|
||||||
sprintf(benchmark_descs[i].filename, "%s_%d.xml", CPU_BENCHMARKS_FILE_NAME, i);
|
sprintf(benchmark_descs[i].filename, "%s_%d.xml", CPU_BENCHMARKS_FILE_NAME, i);
|
||||||
|
|
Loading…
Reference in New Issue