1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 10:54:16 +01:00

[dxvk] Increase memory task tick rate to 0.5s

Makes cleanup a bit quicker in some cases.
This commit is contained in:
Philip Rebohle 2024-10-21 23:10:14 +02:00 committed by Philip Rebohle
parent 7a09ab6c83
commit de400ae8a9

View File

@ -2221,7 +2221,7 @@ namespace dxvk {
void DxvkMemoryAllocator::performTimedTasks() {
static constexpr auto Interval = std::chrono::seconds(1u);
static constexpr auto Interval = std::chrono::milliseconds(500u);
// This function shouldn't be called concurrently, so checking and
// updating the deadline is fine without taking the global lock