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

#include <pixelpipe_cache_pressure.h>

+ Collaboration diagram for dt_pixelpipe_cache_pressure_t:

Data Fields

size_t plan
 
size_t ceiling
 
size_t mark
 

Detailed Description

Definition at line 62 of file pixelpipe_cache_pressure.h.

Field Documentation

◆ ceiling

size_t dt_pixelpipe_cache_pressure_t::ceiling

What allocations evict down to right now – the plan, or less under pressure.

Definition at line 67 of file pixelpipe_cache_pressure.h.

◆ mark

size_t dt_pixelpipe_cache_pressure_t::mark

The footprint the cache had when pressure last struck. The ceiling may not climb past 7/8 of it, and it recovers slowly, so the size that caused a stall is tried again only after minutes of calm.

Definition at line 71 of file pixelpipe_cache_pressure.h.

◆ plan

size_t dt_pixelpipe_cache_pressure_t::plan

The startup budget: what the cache may hold when nothing is stalling.

Definition at line 65 of file pixelpipe_cache_pressure.h.

Referenced by dt_pixelpipe_cache_pressure_floor().


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