Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dt_pixelpipe_cache_observer_t Struct Reference

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)
 

Detailed Description

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.

Field Documentation

◆ active

gboolean(* dt_pixelpipe_cache_observer_t::active) (void)

Definition at line 805 of file pixelpipe_cache.h.

Referenced by _observed().

◆ cacheline_delete

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().

◆ cacheline_read

void(* dt_pixelpipe_cache_observer_t::cacheline_read) (uint64_t hash, size_t size)

Definition at line 806 of file pixelpipe_cache.h.

Referenced by _observe_read().

◆ rekey

void(* dt_pixelpipe_cache_observer_t::rekey) (uint64_t old_hash, uint64_t new_hash)

Definition at line 808 of file pixelpipe_cache.h.

Referenced by _observe_rekey().


The documentation for this struct was generated from the following file: