Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
memory_pressure.h File Reference
#include <stdint.h>
+ Include dependency graph for memory_pressure.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DT_MEMORY_PRESSURE_MAX_LEVELS   16
 

Typedefs

typedef struct dt_memory_pressure_watch_t dt_memory_pressure_watch_t
 

Functions

int dt_memory_pressure_read_full_stall (uint64_t *total_us, int max_levels)
 
dt_memory_pressure_watch_tdt_memory_pressure_watch_start (uint64_t stall_us, uint64_t window_us, void(*stalled)(void *user), void *user)
 
void dt_memory_pressure_watch_stop (dt_memory_pressure_watch_t **watch)
 
int dt_memory_pressure_watch_levels (const dt_memory_pressure_watch_t *watch)
 

Macro Definition Documentation

◆ DT_MEMORY_PRESSURE_MAX_LEVELS

#define DT_MEMORY_PRESSURE_MAX_LEVELS   16

Definition at line 36 of file memory_pressure.h.

Typedef Documentation

◆ dt_memory_pressure_watch_t

Definition at line 51 of file memory_pressure.h.

Function Documentation

◆ dt_memory_pressure_read_full_stall()

int dt_memory_pressure_read_full_stall ( uint64_t total_us,
int  max_levels 
)

◆ dt_memory_pressure_watch_levels()

int dt_memory_pressure_watch_levels ( const dt_memory_pressure_watch_t watch)

◆ dt_memory_pressure_watch_start()

◆ dt_memory_pressure_watch_stop()