mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-18 08:56:10 -04:00
Count navmeshdb reads for each reading job
This commit is contained in:
parent
5ae8b9cae1
commit
a90aa7d8b2
@ -823,6 +823,8 @@ namespace DetourNavigator
|
|||||||
|
|
||||||
void DbWorker::processReadingJob(JobIt job)
|
void DbWorker::processReadingJob(JobIt job)
|
||||||
{
|
{
|
||||||
|
++mGetTileCount;
|
||||||
|
|
||||||
Log(Debug::Debug) << "Processing db read job " << job->mId;
|
Log(Debug::Debug) << "Processing db read job " << job->mId;
|
||||||
|
|
||||||
if (job->mInput.empty())
|
if (job->mInput.empty())
|
||||||
@ -865,7 +867,6 @@ namespace DetourNavigator
|
|||||||
}
|
}
|
||||||
|
|
||||||
job->mCachedTileData = mDb->getTileData(job->mWorldspace, job->mChangedTile, job->mInput);
|
job->mCachedTileData = mDb->getTileData(job->mWorldspace, job->mChangedTile, job->mInput);
|
||||||
++mGetTileCount;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DbWorker::processWritingJob(JobIt job)
|
void DbWorker::processWritingJob(JobIt job)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user