| 330 | } |
| 331 | |
| 332 | void ItemRepositoryRegistry::printAllStatistics() const |
| 333 | { |
| 334 | Q_D(const ItemRepositoryRegistry); |
| 335 | |
| 336 | QMutexLocker lock(&d->m_mutex); |
| 337 | for (auto* repository : std::as_const(d->m_repositories)) { |
| 338 | std::scoped_lock repoLock(*repository); |
| 339 | qCDebug(SERIALIZATION) << "statistics in" << repository->repositoryName() << ":"; |
| 340 | qCDebug(SERIALIZATION) << repository->printStatistics(); |
| 341 | } |
| 342 | } |
| 343 | |
| 344 | int ItemRepositoryRegistry::finalCleanup() |
| 345 | { |