![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <pixelpipe_cache.h>
Collaboration diagram for dt_dev_pixelpipe_cache_t:Data Fields | |
| GHashTable * | entries |
| GHashTable * | external_entries |
| uint64_t | next_serial |
| uint64_t | queries |
| uint64_t | hits |
| size_t | max_memory |
| size_t | current_memory |
| dt_pthread_mutex_t | lock |
| dt_cache_arena_t | arena |
Definition at line 55 of file pixelpipe_cache.h.
| dt_cache_arena_t dt_dev_pixelpipe_cache_t::arena |
Definition at line 66 of file pixelpipe_cache.h.
Referenced by _arena_alloc_with_defrag(), _arena_stats_bytes(), _free_cache_entry(), dt_dev_pixelpipe_cache_cleanup(), dt_dev_pixelpipe_cache_init(), dt_pixel_cache_new_entry(), and dt_pixelpipe_cache_alloc_align_cache_impl().
| size_t dt_dev_pixelpipe_cache_t::current_memory |
Definition at line 64 of file pixelpipe_cache.h.
Referenced by _free_cache_entry(), _free_space_to_alloc(), _log_arena_allocation_failure(), _non_thread_safe_pixel_pipe_cache_remove_lru(), dt_dev_pixelpipe_cache_init(), dt_dev_pixelpipe_cache_print(), dt_get_available_mem(), and dt_pixel_cache_new_entry().
| GHashTable* dt_dev_pixelpipe_cache_t::entries |
Definition at line 57 of file pixelpipe_cache.h.
Referenced by _arena_alloc_with_defrag(), _cache_lookup_existing(), _cache_try_rekey_reuse_locked(), _free_space_to_alloc(), _non_thread_safe_pixel_pipe_cache_remove_lru(), _pixelpipe_cache_create_entry_locked(), dt_dev_pixelpipe_cache_auto_destroy_apply(), dt_dev_pixelpipe_cache_cleanup(), dt_dev_pixelpipe_cache_flush(), dt_dev_pixelpipe_cache_flush_clmem(), dt_dev_pixelpipe_cache_flush_old(), dt_dev_pixelpipe_cache_get(), dt_dev_pixelpipe_cache_get_entry(), dt_dev_pixelpipe_cache_get_entry_by_data(), dt_dev_pixelpipe_cache_get_writable(), dt_dev_pixelpipe_cache_init(), dt_dev_pixelpipe_cache_invalidate_hashes(), dt_dev_pixelpipe_cache_print(), dt_dev_pixelpipe_cache_ref_entry_by_hash(), dt_dev_pixelpipe_cache_rekey(), dt_dev_pixelpipe_cache_remove(), and dt_dev_pixelpipe_cache_unref_hash().
| GHashTable* dt_dev_pixelpipe_cache_t::external_entries |
Definition at line 59 of file pixelpipe_cache.h.
Referenced by _cache_entry_for_host_ptr_locked(), dt_dev_pixelpipe_cache_cleanup(), dt_dev_pixelpipe_cache_get_entry_by_data(), dt_dev_pixelpipe_cache_init(), dt_pixelpipe_cache_alloc_align_cache_impl(), and dt_pixelpipe_cache_free_align_cache().
| uint64_t dt_dev_pixelpipe_cache_t::hits |
Definition at line 62 of file pixelpipe_cache.h.
Referenced by _cache_lookup_existing(), dt_dev_pixelpipe_cache_get(), dt_dev_pixelpipe_cache_init(), dt_dev_pixelpipe_cache_print(), and dt_dev_pixelpipe_cache_ref_entry_by_hash().
| dt_pthread_mutex_t dt_dev_pixelpipe_cache_t::lock |
Definition at line 65 of file pixelpipe_cache.h.
Referenced by _arena_alloc_with_defrag(), _cache_lookup_existing(), dt_dev_pixel_pipe_cache_remove_lru(), dt_dev_pixelpipe_cache_auto_destroy_apply(), dt_dev_pixelpipe_cache_cleanup(), dt_dev_pixelpipe_cache_flag_auto_destroy(), dt_dev_pixelpipe_cache_flush(), dt_dev_pixelpipe_cache_flush_clmem(), dt_dev_pixelpipe_cache_flush_host_pinned_image(), dt_dev_pixelpipe_cache_flush_old(), dt_dev_pixelpipe_cache_get(), dt_dev_pixelpipe_cache_get_entry(), dt_dev_pixelpipe_cache_get_entry_by_data(), dt_dev_pixelpipe_cache_get_pinned_image(), dt_dev_pixelpipe_cache_get_writable(), dt_dev_pixelpipe_cache_init(), dt_dev_pixelpipe_cache_invalidate_hashes(), dt_dev_pixelpipe_cache_ref_count_entry(), dt_dev_pixelpipe_cache_ref_entry_by_hash(), dt_dev_pixelpipe_cache_ref_entry_for_host_ptr(), dt_dev_pixelpipe_cache_rekey(), dt_dev_pixelpipe_cache_remove(), dt_dev_pixelpipe_cache_unref_hash(), dt_pixelpipe_cache_alloc_align_cache_impl(), and dt_pixelpipe_cache_free_align_cache().
| size_t dt_dev_pixelpipe_cache_t::max_memory |
Definition at line 63 of file pixelpipe_cache.h.
Referenced by _free_space_to_alloc(), _log_arena_allocation_failure(), dt_dev_pixelpipe_cache_init(), dt_dev_pixelpipe_cache_print(), and dt_get_available_mem().
| uint64_t dt_dev_pixelpipe_cache_t::next_serial |
Definition at line 60 of file pixelpipe_cache.h.
Referenced by dt_dev_pixelpipe_cache_init(), and dt_pixel_cache_new_entry().
| uint64_t dt_dev_pixelpipe_cache_t::queries |
Definition at line 61 of file pixelpipe_cache.h.
Referenced by _cache_lookup_existing(), dt_dev_pixelpipe_cache_get(), dt_dev_pixelpipe_cache_get_writable(), dt_dev_pixelpipe_cache_init(), dt_dev_pixelpipe_cache_print(), dt_dev_pixelpipe_cache_ref_entry_by_hash(), and dt_dev_pixelpipe_cache_unref_hash().