![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
The supervisor's view of the cache. All four may be NULL; active gates the other three so the cache pays one predicted-false branch when nobody is watching. More...
#include <pixelpipe_cache.h>
Collaboration diagram for dt_pixelpipe_cache_observer_t:Data Fields | |
| gboolean(* | active )(void) |
| void(* | cacheline_read )(uint64_t hash, size_t size) |
| void(* | cacheline_delete )(uint64_t hash, size_t size, int owner_pipe_id, const char *name) |
| void(* | rekey )(uint64_t old_hash, uint64_t new_hash) |
The supervisor's view of the cache. All four may be NULL; active gates the other three so the cache pays one predicted-false branch when nobody is watching.
Definition at line 803 of file pixelpipe_cache.h.
| gboolean(* dt_pixelpipe_cache_observer_t::active) (void) |
Definition at line 805 of file pixelpipe_cache.h.
Referenced by _observed().
| void(* dt_pixelpipe_cache_observer_t::cacheline_delete) (uint64_t hash, size_t size, int owner_pipe_id, const char *name) |
Definition at line 807 of file pixelpipe_cache.h.
Referenced by _observe_delete().
Definition at line 806 of file pixelpipe_cache.h.
Referenced by _observe_read().
Definition at line 808 of file pixelpipe_cache.h.
Referenced by _observe_rekey().