aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorHarald Geyer <[email protected]>2015-04-07 11:12:35 +0000
committerJohn Stultz <[email protected]>2015-05-22 09:12:28 -0700
commit6374f9124efea5fae9cba263108583c39e22f86b (patch)
tree1dc1736d56f2ef68c114e338d31e0f295a83aef7 /tools/perf/scripts/python/Perf-Trace-Util
parent6f7d79849a00bba82d3139ff91ff2aaabd12841e (diff)
timekeeping: Provide new API to get the current time resolution
This patch series introduces a new function u32 ktime_get_resolution_ns(void) which allows to clean up some driver code. In particular the IIO subsystem has a function to provide timestamps for events but no means to get their resolution. So currently the dht11 driver tries to guess the resolution in a rather messy and convoluted way. We can do much better with the new code. This API is not designed to be exposed to user space. This has been tested on i386, sunxi and mxs. Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Harald Geyer <[email protected]> [jstultz: Tweaked to make it build after upstream changes] Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions