mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-23 14:43:39 +00:00
Now that we fixed sync issues, we should have better timings...
This commit is contained in:
parent
44884a18b3
commit
278a59e24a
1 changed files with 2 additions and 5 deletions
|
@ -132,16 +132,13 @@ void ThreadGroup::Join() {
|
|||
m_FinishCV->wait(lock);
|
||||
}
|
||||
|
||||
m_StopWatch.Stop();
|
||||
|
||||
for(int i = 0; i < m_ActiveThreads; i++) {
|
||||
m_ThreadHandles[i]->join();
|
||||
delete m_ThreadHandles[i];
|
||||
}
|
||||
|
||||
// !FIXME! This will also take the thread deletion into account. We
|
||||
// should really be using better synchronization to actually only
|
||||
// measure how long it takes for all threads to finish execution.
|
||||
m_StopWatch.Stop();
|
||||
|
||||
// Reset active number of threads...
|
||||
m_ActiveThreads = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue