From 2c613feb0cbf4f6c79b0638688ca699f0c6fc0d3 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 19 Nov 2019 08:39:55 +1000 Subject: [PATCH] tools: debug-events: expand timestamp prints to full millis Tens of millis is not quite enough in some cases. Signed-off-by: Peter Hutterer --- tools/libinput-debug-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libinput-debug-events.c b/tools/libinput-debug-events.c index d4f5914f..069ef3c3 100644 --- a/tools/libinput-debug-events.c +++ b/tools/libinput-debug-events.c @@ -155,7 +155,7 @@ print_event_header(struct libinput_event *ev) static void print_event_time(uint32_t time) { - printq("%+6.2fs ", start_time ? (time - start_time) / 1000.0 : 0); + printq("%+6.3fs ", start_time ? (time - start_time) / 1000.0 : 0); } static inline void