commit | aa65c8b250b99f1684f46e2c40b77e42bf7c5f31 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Sep 15 10:43:20 2016 -0700 |
committer | Yabin Cui <yabinc@google.com> | Thu Sep 15 18:47:04 2016 -0700 |
tree | 98076608b0afb20e68bb4f5d94ac55a47b596d2a | |
parent | 812d0a9a51201845b82426da581bfed27cb03194 [diff] |
simpleperf: calculate perf clock based on system clock. The timestamps of perf event records are not generated by MONOTONIC system clock. However, we can calculate perf clock based on MONOTONIC system clock. See http://www.gossamer-threads.com/lists/linux/kernel/1970811 Bug: http://b/30975131 Test: run `simpleperf record -a --log verbose ls` and check the result. Change-Id: I78ef28b501aa45a4696c05ec76f6d04363082c5d