diff options
author | 2014-07-16 21:04:58 +0000 | |
---|---|---|
committer | 2014-07-23 15:01:47 -0700 | |
commit | 02cba1598a2a3b689e79ad6dad2532521f638271 (patch) | |
tree | c63b4bded9f6c6194d1c13947c8c30611e9f2b30 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | timekeeping: Use ktime_get_boottime() for get_monotonic_boottime() (diff) | |
download | linux-dev-02cba1598a2a3b689e79ad6dad2532521f638271.tar.xz linux-dev-02cba1598a2a3b689e79ad6dad2532521f638271.zip |
timekeeping: Simplify getboottime()
Subtracting plain nsec values and converting to timespec is simpler
than the whole timespec math. Not really fastpath code, so the
division is not an issue.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions