mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=6398
This commit is contained in:
parent
c1f7d8a890
commit
31659992b4
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue