Commit 3d8053f0 authored by Tobias Ellinghaus's avatar Tobias Ellinghaus

Add times to dt_print() output

This adds the number of seconds since dt was started to spot slow
startup times.

(cherry picked from commit e10df169)
parent 6144f463
......@@ -1118,6 +1118,7 @@ void dt_print(dt_debug_thread_t thread, const char *msg, ...)
if(darktable.unmuted & thread)
printf("%f ", dt_get_wtime() - darktable.start_wtime);
va_list ap;
va_start(ap, msg);
vprintf(msg, ap);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment