18#ifndef DT_COMMON_TIMES_H
19#define DT_COMMON_TIMES_H
29#include <sys/resource.h>
47 return time.tv_sec - 1290608000 + (1.0 / 1000000.0) * time.tv_usec;
56 t->user =
ru.ru_utime.tv_sec +
ru.ru_utime.tv_usec * (1.0 / 1000000.0);
int getrusage(int who, struct rusage *usage)
float dt_aligned_pixel_simd_t __attribute__((vector_size(16), aligned(16)))
Apply one channel's tone curve to each of the three colour channels, or pass the channel through unto...
void dt_show_times(const dt_times_t *start, const char *prefix)
double dt_get_start_wtime(void)
static void dt_get_times(dt_times_t *t)
static double dt_get_wtime(void)
void dt_show_times_f(const dt_times_t *start, const char *prefix, const char *suffix,...) __attribute__((format(printf