projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
558cc3f
)
tools: debug-events: expand timestamp prints to full millis
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 18 Nov 2019 22:39:55 +0000
(08:39 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 18 Nov 2019 22:43:48 +0000
(22:43 +0000)
Tens of millis is not quite enough in some cases.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/libinput-debug-events.c
patch
|
blob
|
history
diff --git
a/tools/libinput-debug-events.c
b/tools/libinput-debug-events.c
index d4f5914f959294e892c5dbdc080cc6a31460c1c6..069ef3c36694e5a887628b425d9b8377f94c5f0d 100644
(file)
--- 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.
2
fs ", start_time ? (time - start_time) / 1000.0 : 0);
+ printq("%+6.
3
fs ", start_time ? (time - start_time) / 1000.0 : 0);
}
static inline void