diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2022-07-17 20:43:47 -0700 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2022-08-02 22:24:06 -0700 |
| commit | 09089eeee0bf6022cc7681214e51546d134402ea (patch) | |
| tree | 8a209216e224f8a28c1217459769efba6499a2fb /Source/Core/VideoCommon/HiresTextures.cpp | |
| parent | 8d16971a6fcd3534c9dd34d625c151d2a5ce3ed9 (diff) | |
Common::Timer: use chrono::steady_clock internally
Diffstat (limited to 'Source/Core/VideoCommon/HiresTextures.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/HiresTextures.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/HiresTextures.cpp b/Source/Core/VideoCommon/HiresTextures.cpp index 9636bfe651..5b0104f9f3 100644 --- a/Source/Core/VideoCommon/HiresTextures.cpp +++ b/Source/Core/VideoCommon/HiresTextures.cpp @@ -159,7 +159,7 @@ void HiresTexture::Prefetch() const size_t max_mem = (sys_mem / 2 < recommended_min_mem) ? (sys_mem / 2) : (sys_mem - recommended_min_mem); - const u32 start_time = Common::Timer::GetTimeMs(); + const u64 start_time = Common::Timer::NowMs(); for (const auto& entry : s_textureMap) { const std::string& base_filename = entry.first; @@ -207,7 +207,7 @@ void HiresTexture::Prefetch() } } - const u32 stop_time = Common::Timer::GetTimeMs(); + const u64 stop_time = Common::Timer::NowMs(); OSD::AddMessage(fmt::format("Custom Textures loaded, {:.1f} MB in {:.1f}s", size_sum / (1024.0 * 1024.0), (stop_time - start_time) / 1000.0), 10000); |
