|
Blender V5.3
|
#include <cache_eviction.h>
Public Member Functions | |
| CacheEvictionManager (bool background) | |
| void | reset () |
| void | set_navigating (bool navigating) |
| bool | is_navigating () const |
| bool | need_eviction (bool idle, bool switched_to_new_tile) |
| std::chrono::milliseconds | wait_time (bool idle) const |
Definition at line 16 of file cache_eviction.h.
|
explicit |
Definition at line 14 of file cache_eviction.cpp.
| bool CacheEvictionManager::is_navigating | ( | ) | const |
Definition at line 30 of file cache_eviction.cpp.
| bool CacheEvictionManager::need_eviction | ( | bool | idle, |
| bool | switched_to_new_tile ) |
Definition at line 35 of file cache_eviction.cpp.
References time_dt(), and wait_time().
Referenced by Session::run_update_for_next_iteration().
| void CacheEvictionManager::reset | ( | ) |
Definition at line 16 of file cache_eviction.cpp.
Referenced by Session::run_update_for_next_iteration().
| void CacheEvictionManager::set_navigating | ( | bool | navigating | ) |
Definition at line 25 of file cache_eviction.cpp.
Referenced by Session::set_navigating().
| std::chrono::milliseconds CacheEvictionManager::wait_time | ( | bool | idle | ) | const |
Definition at line 77 of file cache_eviction.cpp.
References max, and time_dt().
Referenced by need_eviction(), and Session::run_wait_for_work().