1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Count navmeshdb reads for each reading job

This commit is contained in:
elsid 2023-05-13 14:56:45 +02:00
parent 5ae8b9cae1
commit a90aa7d8b2
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

View File

@ -823,6 +823,8 @@ namespace DetourNavigator
void DbWorker::processReadingJob(JobIt job)
{
++mGetTileCount;
Log(Debug::Debug) << "Processing db read job " << job->mId;
if (job->mInput.empty())
@ -865,7 +867,6 @@ namespace DetourNavigator
}
job->mCachedTileData = mDb->getTileData(job->mWorldspace, job->mChangedTile, job->mInput);
++mGetTileCount;
}
void DbWorker::processWritingJob(JobIt job)