forked from qt-creator/qt-creator
ClangTools: Print elapsed time on finish
...as this is useful to know for some bigger runs. Change-Id: Ib4cc68ea4a3bed21ac7e632213e92e26be03d978 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include <utils/environment.h>
|
||||
#include <utils/temporarydirectory.h>
|
||||
|
||||
#include <QElapsedTimer>
|
||||
#include <QFutureInterface>
|
||||
#include <QSet>
|
||||
#include <QStringList>
|
||||
@@ -123,6 +124,8 @@ private:
|
||||
int m_initialQueueSize = 0;
|
||||
QSet<QString> m_filesAnalyzed;
|
||||
QSet<QString> m_filesNotAnalyzed;
|
||||
|
||||
QElapsedTimer m_elapsed;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user