JobServer: print completion percentage and ETA

If the JobServer is provided a total number of experiments by the
campaign, it now prints a completion percentage and an estimated
remaining runtime along the usual progress reports.

Change-Id: Ibd781ba8bff9af3a85683bbd29728216e316da57
This commit is contained in:
Horst Schirmeier
2018-08-03 18:24:36 +02:00
parent f89794329c
commit a547b0d5b4
5 changed files with 46 additions and 1 deletions

View File

@ -42,5 +42,15 @@ void CampaignManager::noMoreParameters()
m_jobserver->setNoMoreExperiments();
}
void CampaignManager::setTotalCount(uint64_t count)
{
m_jobserver->setTotalCount(count);
}
void CampaignManager::skipJobs(uint64_t count)
{
m_jobserver->skipJobs(count);
}
void CampaignManager::done() { m_jobserver->done(); }
} // end-of-namespace: fail