From: Peter Hutterer Date: Mon, 18 Nov 2019 22:39:55 +0000 (+1000) Subject: tools: debug-events: expand timestamp prints to full millis X-Git-Tag: 1.14.901~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c613feb0cbf4f6c79b0638688ca699f0c6fc0d3;p=platform%2Fupstream%2Flibinput.git tools: debug-events: expand timestamp prints to full millis Tens of millis is not quite enough in some cases. Signed-off-by: Peter Hutterer --- 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