Fix JobQueue to measure waiting and run times correctly

This commit is contained in:
Vinnie Falco
2013-10-01 12:22:38 -07:00
parent 2ac2fdfabd
commit 46d3ace6b7
5 changed files with 6 additions and 15 deletions

View File

@@ -141,9 +141,6 @@ public:
m_jobSet.insert (Job (
type, name, ++m_lastJob, m_loads[type], jobFunc, m_cancelCallback));
// start timing how long it stays in the queue
it.first->peekEvent().start();
queueJob (*it.first, lock);
}
}