1#ifndef DT_DEVELOP_GUI_THROTTLE_H
2#define DT_DEVELOP_GUI_THROTTLE_H
typedef void((*dt_cache_allocate_t)(void *userdata, dt_cache_entry_t *entry))
@ DT_THROTTLE_SLOT_PREVIEW
gint64 dt_gui_throttle_get_timeout_us(void)
void dt_gui_throttle_cancel(gpointer source)
void(* dt_gui_throttle_callback_t)(gpointer user_data)
void dt_gui_throttle_set_timeout_ms(guint timeout_ms)
int dt_gui_throttle_get_pipe_runtime_us(dt_throttle_slot_t slot)
void dt_gui_throttle_record_runtime(dt_throttle_slot_t slot, gint64 runtime_us)
void dt_gui_throttle_init(int saved_runtime_us)
int dt_gui_throttle_get_runtime_us(void)
void dt_gui_throttle_cleanup(void)
guint dt_gui_throttle_get_timeout_ms(void)
void dt_gui_throttle_queue(gpointer source, dt_gui_throttle_callback_t callback, gpointer user_data)