*** empty log message ***

svn path=/trunk/boinc/; revision=6398
This commit is contained in:
David Anderson 2005-06-22 05:24:13 +00:00
parent c1f7d8a890
commit 31659992b4
3 changed files with 15 additions and 0 deletions

View File

@ -8201,3 +8201,13 @@ David 21 June 2005
boinc_db.C
sched/
handle_request.C
David 21 June 2005
- core client: round-robin simulator wasn't excluding
non-CPU-intensive projects
(from John McLeod)
- scheduler: comment out transaction stuff.
It's not clear what this does, or if we want it.
client/
cs_scheduler.C

View File

@ -1022,6 +1022,7 @@ bool CLIENT_STATE::rr_misses_deadline(double per_cpu_proc_rate, double rrs) {
for (i=0; i<results.size(); i++) {
rp = results[i];
if (!rp->runnable()) continue;
if (rp->project->non_cpu_intensive) continue;
rp->rrsim_cpu_left = rp->estimated_cpu_time_remaining();
p = rp->project;
if (p->active.size() < (unsigned int)ncpus) {

View File

@ -633,6 +633,7 @@ int handle_results(SCHEDULER_REQUEST& sreq, SCHEDULER_REPLY& reply) {
} // loop over all incoming results
#if 0
if (config.use_transactions) {
retval = boinc_db.start_transaction();
if (retval) {
@ -642,6 +643,7 @@ int handle_results(SCHEDULER_REQUEST& sreq, SCHEDULER_REPLY& reply) {
);
}
}
#endif
// Update the result records
// (skip items that we previously marked to skip)
@ -670,6 +672,7 @@ int handle_results(SCHEDULER_REQUEST& sreq, SCHEDULER_REPLY& reply) {
);
}
#if 0
if (config.use_transactions) {
retval = boinc_db.commit_transaction();
if (retval) {
@ -680,6 +683,7 @@ int handle_results(SCHEDULER_REQUEST& sreq, SCHEDULER_REPLY& reply) {
);
}
}
#endif
return 0;
}