![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <pixelpipe_cache_pressure.h>
Collaboration diagram for dt_pixelpipe_cache_pressure_sink_t:Data Fields | |
| size_t(* | held )(void *user) |
| size_t(* | shed )(void *user, size_t target, size_t *given_back) |
| void * | user |
Definition at line 177 of file pixelpipe_cache_pressure.h.
What the cache holds right now, in bytes.
Definition at line 180 of file pixelpipe_cache_pressure.h.
Referenced by _pressure_sink(), and _shed().
Evict down to target bytes and hand the freed pages back to the OS. Returns what is left, and writes to *given_back the bytes the OS actually got – the two differ, which is why the log line the monitor writes wants both.
Definition at line 184 of file pixelpipe_cache_pressure.h.
Referenced by _shed().
| void* dt_pixelpipe_cache_pressure_sink_t::user |
Definition at line 185 of file pixelpipe_cache_pressure.h.
Referenced by _shed().