Skip to content

Commit

Permalink
tools: debug-events: expand timestamp prints to full millis
Browse files Browse the repository at this point in the history
Tens of millis is not quite enough in some cases.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
whot committed Nov 18, 2019
1 parent 558cc3f commit 2c613fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/libinput-debug-events.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c613fe

Please sign in to comment.