diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 16:04:17 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 16:04:17 +1000 |
commit | 11e00a8dedd8f430f6528d2852169d134c17367a (patch) | |
tree | b8a8bb9fdf7e29f48777c0abebb3d7c8449d0a4c /source/game/StarWorldClient.cpp | |
parent | 8ee9c97f54b210f9bb74b6a3c4f32f91b1620f13 (diff) |
Change debug render time logging to use microseconds
Diffstat (limited to 'source/game/StarWorldClient.cpp')
-rw-r--r-- | source/game/StarWorldClient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarWorldClient.cpp b/source/game/StarWorldClient.cpp index 486105a..d1c9390 100644 --- a/source/game/StarWorldClient.cpp +++ b/source/game/StarWorldClient.cpp @@ -1452,13 +1452,13 @@ void WorldClient::lightingMain() { return; if (m_renderData) { - int64_t start = Time::monotonicMilliseconds(); + int64_t start = Time::monotonicMicroseconds(); lightingTileGather(); m_lightingCalculator.calculate(m_renderData->lightMap); m_renderData = nullptr; - LogMap::set("render_light_calc", strf("{}ms", Time::monotonicMilliseconds() - start)); + LogMap::set("render_world_async_lighting_calc_time", strf(u8"{:05d}s", Time::monotonicMicroseconds() - start)); } m_lightingCond.wait(m_lightingMutex); |