Class · aurore
aurore::LRUCache
#include <aurore/core/cache_helper.hpp>
template <typename K, typename T>
class aurore::LRUCacheDescription
LRU cache If the reference count is not 0, the cache will never expire. Cache items with a reference count of 0 are cached according to LRU rules
Types 1
Constructors 1
Functions 13
A budget in bytes, on top of the capacity in entries (0: none). Over it, the least recently used entries nothing holds are freed. sizeOf says what an entry weighs.
cache_helper.hpp:121It is not really to remove a cache, but to reduce the counter of the corresponding cache by 1
cache_helper.hpp:140Update a cache value
cache_helper.hpp:158Delete all cache entries whose reference count has dropped to zero. Call this after releasing images to promptly free GPU memory.
cache_helper.hpp:226Static attributes 2
Read from Aurore's headers by Doxygen at each build · library/include