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:
parent
7a09ab6c83
commit
de400ae8a9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user