Client: Fix compiler warning (unused static function)

This commit is contained in:
Charlie Fenton 2014-01-13 17:10:57 -08:00
parent d7cd392300
commit dea8c1cee4
1 changed files with 2 additions and 0 deletions

View File

@ -964,6 +964,7 @@ static inline bool in_run_list(vector<RESULT*>& run_list, ACTIVE_TASK* atp) {
return false;
}
#if 0
// scan the runnable list, keeping track of CPU usage X.
// if find a MT job J, and X < ncpus, move J before all non-MT jobs
// But don't promote a MT job ahead of a job in EDF
@ -999,6 +1000,7 @@ static void promote_multi_thread_jobs(vector<RESULT*>& runnable_jobs) {
cur++;
}
}
#endif
// return true if r0 is more important to run than r1
//