1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-08 00:44:48 -04:00

Profiler: Add maximum time coloumn. Add global runtime.

This commit is contained in:
Jon Beniston
2026-03-25 15:29:49 +00:00
parent 6baa38f887
commit 2a366b875a
6 changed files with 80 additions and 4 deletions
+2
View File
@@ -22,6 +22,7 @@
QHash<QString, ProfileData> GlobalProfileData::m_profileData;
QMutex GlobalProfileData::m_mutex;
QElapsedTimer GlobalProfileData::m_startTimer;
QHash<QString, ProfileData>& GlobalProfileData::getProfileData()
{
@@ -38,5 +39,6 @@ void GlobalProfileData::resetProfileData()
{
m_mutex.lock();
m_profileData.clear();
m_startTimer.start();
m_mutex.unlock();
}