mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
more debugging
This commit is contained in:
parent
bef5677e91
commit
5b7ab1e49a
1 changed files with 7 additions and 0 deletions
|
@ -924,6 +924,7 @@ void NodeList::resetPacketStats() {
|
|||
}
|
||||
|
||||
void NodeList::removeSilentNodes() {
|
||||
quint64 removeSilentNodesStart = usecTimestampNow();
|
||||
|
||||
_nodeHashMutex.lock();
|
||||
|
||||
|
@ -946,6 +947,12 @@ void NodeList::removeSilentNodes() {
|
|||
}
|
||||
|
||||
_nodeHashMutex.unlock();
|
||||
|
||||
quint64 removeSilentNodesEnd = usecTimestampNow();
|
||||
quint64 removeSilentNodesElapsed = (removeSilentNodesEnd - removeSilentNodesStart);
|
||||
if (removeSilentNodesElapsed > 100000) {
|
||||
qDebug() << "removeSilentNodesElapsed="<<removeSilentNodesElapsed;
|
||||
}
|
||||
}
|
||||
|
||||
const QString QSETTINGS_GROUP_NAME = "NodeList";
|
||||
|
|
Loading…
Reference in a new issue