[gimp] app: print 4 decimal places in GIMP_TIMER_END()



commit 561c250298de2342867ad4755a511512d3b1b50b
Author: Michael Natterer <mitch gimp org>
Date:   Wed Mar 6 12:50:21 2013 +0100

    app: print 4 decimal places in GIMP_TIMER_END()

 app/core/gimp-utils.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimp-utils.h b/app/core/gimp-utils.h
index ffa19df..8630c04 100644
--- a/app/core/gimp-utils.h
+++ b/app/core/gimp-utils.h
@@ -23,7 +23,7 @@
   { GTimer *_timer = g_timer_new ();
 
 #define GIMP_TIMER_END(message) \
-  g_printerr ("%s: %s took %0.2f seconds\n", \
+  g_printerr ("%s: %s took %0.4f seconds\n", \
               G_STRFUNC, message, g_timer_elapsed (_timer, NULL)); \
   g_timer_destroy (_timer); }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]