24#ifdef USE_DARKTABLE_PROFILING
25#define TIMER_START(name, description) \
26 dt_timer_t *name = dt_timer_start_with_name(__FILE__, __FUNCTION__, description)
28#define TIMER_START(name, description) \
33#ifdef USE_DARKTABLE_PROFILING
34#define TIMER_STOP(name) dt_timer_stop_with_name(name)
36#define TIMER_STOP(name) \
41#ifdef USE_DARKTABLE_PROFILING
42typedef struct dt_timer_t
const char ** description(struct dt_iop_module_t *self)
Definition ashift.c:129
dt_timer_t * dt_timer_start_with_name(const char *file, const char *function, const char *description)
Definition profiling.c:21
void dt_timer_stop_with_name(dt_timer_t *t)
Definition profiling.c:31