Manager: message tweak

svn path=/trunk/boinc/; revision=17420
This commit is contained in:
David Anderson 2009-03-02 00:28:38 +00:00
parent 7b10a4649a
commit 641ff01533
1 changed files with 6 additions and 10 deletions

View File

@ -137,19 +137,15 @@ void CDlgItemProperties::renderInfos(PROJECT* project_in) {
addSection(_("Scheduling"));
addProperty(_("CPU scheduling priority"),wxString::Format(wxT("%0.2f"), project->short_term_debt));
addProperty(_("CPU work fetch priority"),wxString::Format(wxT("%0.2f"), project->cpu_long_term_debt));
if (project->cpu_backoff_time > dtime()) {
addProperty(_("CPU work fetch deferred for"), FormatTime(project->cpu_backoff_time - dtime()));
} else {
addProperty(_("CPU work fetch not deferred "), _(""));
}
double x = project->cpu_backoff_time - dtime();
if (x<0) x = 0;
addProperty(_("CPU work fetch deferred for"), FormatTime(x));
addProperty(_("CPU work fetch deferral interval"), FormatTime(project->cpu_backoff_interval));
if (pDoc->state.have_cuda) {
addProperty(_("NVIDIA GPU work fetch priority"),wxString::Format(wxT("%0.2f"), project->cuda_debt));
if (project->cuda_backoff_time > dtime()) {
addProperty(_("NVIDIA GPU work fetch deferred for"), FormatTime(project->cuda_backoff_time - dtime()));
} else {
addProperty(_("NVIDIA GPU work fetch not deferred "), _(""));
}
x = project->cuda_backoff_time > dtime();
if (x<0) x = 0;
addProperty(_("NVIDIA GPU work fetch deferred for"), FormatTime(x));
addProperty(_("NVIDIA GPU work fetch deferral interval"), FormatTime(project->cuda_backoff_interval));
}
addProperty(_("Duration correction factor"),wxString::Format(wxT("%0.4f"), project->duration_correction_factor));