29#ifdef USE_DARKTABLE_PROFILING
30#define TIMER_START(name, description) \
31 dt_timer_t *name = dt_timer_start_with_name(__FILE__, __FUNCTION__, description)
33#define TIMER_START(name, description) \
38#ifdef USE_DARKTABLE_PROFILING
39#define TIMER_STOP(name) dt_timer_stop_with_name(name)
41#define TIMER_STOP(name) \
46#ifdef USE_DARKTABLE_PROFILING
47typedef struct dt_timer_t
const char ** description(struct dt_iop_module_t *self)
Definition ashift.c:159
dt_timer_t * dt_timer_start_with_name(const char *file, const char *function, const char *description)
Definition profiling.c:27
void dt_timer_stop_with_name(dt_timer_t *t)
Definition profiling.c:37