![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
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 |
| gint64 | sys_probe_time_us |
| size_t | sys_available_est |
| gboolean | sys_probe_valid |
| dt_pixelpipe_cache_pressure_monitor_t | psi |
| dt_pthread_mutex_t | lock |
| dt_cache_arena_t | arena |
Definition at line 69 of file pixelpipe_cache.c.
| dt_cache_arena_t dt_dev_pixelpipe_cache_t::arena |
Definition at line 92 of file pixelpipe_cache.c.
Referenced by _arena_alloc_with_defrag(), _arena_stats_bytes(), _free_cache_entry(), _memory_pressure_shedder(), _pressure_shed(), _system_memory_pressure_valve(), dt_dev_pixelpipe_cache_cleanup(), dt_dev_pixelpipe_cache_flush_old(), 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 78 of file pixelpipe_cache.c.
Referenced by _free_cache_entry(), _free_space_to_alloc(), _log_arena_allocation_failure(), _memory_pressure_shedder(), _non_thread_safe_pixel_pipe_cache_remove_lru(), _pressure_shed(), _system_memory_pressure_valve(), dt_dev_pixelpipe_cache_get_usage(), dt_dev_pixelpipe_cache_init(), dt_dev_pixelpipe_cache_print(), and dt_pixel_cache_new_entry().
| GHashTable* dt_dev_pixelpipe_cache_t::entries |
Definition at line 71 of file pixelpipe_cache.c.
Referenced by _arena_alloc_with_defrag(), _cache_lookup_existing(), _cache_try_rekey_reuse_locked(), _free_space_to_alloc(), _memory_pressure_shedder(), _non_thread_safe_pixel_pipe_cache_remove_lru(), _pixelpipe_cache_create_entry_locked(), _pressure_shed(), _system_memory_pressure_valve(), 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_entries_stats(), 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_ref_host_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 73 of file pixelpipe_cache.c.
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 76 of file pixelpipe_cache.c.
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_ref_host_entry_by_hash().
| dt_pthread_mutex_t dt_dev_pixelpipe_cache_t::lock |
Definition at line 91 of file pixelpipe_cache.c.
Referenced by _arena_alloc_with_defrag(), _cache_lookup_existing(), _memory_pressure_shedder(), _pressure_wake(), _system_memory_pressure_valve(), 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_entries_stats(), 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_usage(), 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_ref_host_entry_by_hash(), dt_dev_pixelpipe_cache_rekey(), dt_dev_pixelpipe_cache_remove(), dt_dev_pixelpipe_cache_unref_hash(), dt_pixelpipe_cache_alloc_align_cache_impl(), dt_pixelpipe_cache_free_align_cache(), and dt_pixelpipe_cache_get_largest_free_run().
| size_t dt_dev_pixelpipe_cache_t::max_memory |
Definition at line 77 of file pixelpipe_cache.c.
Referenced by _free_space_to_alloc(), _log_arena_allocation_failure(), dt_dev_pixelpipe_cache_init(), and dt_dev_pixelpipe_cache_print().
| uint64_t dt_dev_pixelpipe_cache_t::next_serial |
Definition at line 74 of file pixelpipe_cache.c.
Referenced by dt_dev_pixelpipe_cache_init(), and dt_pixel_cache_new_entry().
| dt_pixelpipe_cache_pressure_monitor_t dt_dev_pixelpipe_cache_t::psi |
Definition at line 90 of file pixelpipe_cache.c.
Referenced by _cache_budget_locked(), _pressure_react_locked(), _pressure_wake(), dt_dev_pixelpipe_cache_cleanup(), dt_dev_pixelpipe_cache_get_usage(), and dt_dev_pixelpipe_cache_init().
| uint64_t dt_dev_pixelpipe_cache_t::queries |
Definition at line 75 of file pixelpipe_cache.c.
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(), dt_dev_pixelpipe_cache_ref_host_entry_by_hash(), and dt_dev_pixelpipe_cache_unref_hash().
| size_t dt_dev_pixelpipe_cache_t::sys_available_est |
Definition at line 85 of file pixelpipe_cache.c.
Referenced by _memory_pressure_shedder(), _system_memory_pressure_valve(), and dt_dev_pixelpipe_cache_init().
| gint64 dt_dev_pixelpipe_cache_t::sys_probe_time_us |
Definition at line 84 of file pixelpipe_cache.c.
Referenced by _memory_pressure_shedder(), _pressure_shed(), _system_memory_pressure_valve(), and dt_dev_pixelpipe_cache_init().
| gboolean dt_dev_pixelpipe_cache_t::sys_probe_valid |
Definition at line 86 of file pixelpipe_cache.c.
Referenced by _memory_pressure_shedder(), _system_memory_pressure_valve(), and dt_dev_pixelpipe_cache_init().