summaryrefslogtreecommitdiffstats
path: root/source/timings.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-10-31 08:07:02 +0100
committerDave Davenport <qball@gmpclient.org>2016-10-31 08:07:02 +0100
commite3ab39ea6f57975bd67179ec957ff0e559d71165 (patch)
tree2f889eb6a7956d021ea6e8ba0ed19809eeaa3e4a /source/timings.c
parentf5f4f52957ff74a240abd5fbe7ba8075e8b73af0 (diff)
add more details to timing log
Diffstat (limited to 'source/timings.c')
-rw-r--r--source/timings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/timings.c b/source/timings.c
index beff465d..07130583 100644
--- a/source/timings.c
+++ b/source/timings.c
@@ -41,11 +41,11 @@ void rofi_timings_init ( void )
}
}
-void rofi_timings_tick ( char const *str, int line, char const *msg )
+void rofi_timings_tick ( const char *file, char const *str, int line, char const *msg )
{
double now = g_timer_elapsed ( global_timer, NULL );
- fprintf ( timing_log, "%4.6f (%2.6f): %s:%-3d %s\n", now, now - global_timer_last, str, line, msg );
+ fprintf ( timing_log, "%4.6f (%2.6f): %s:%s:%-3d %s\n", now, now - global_timer_last, file, str, line, msg );
global_timer_last = now;
}