diff options
| author | Osvaldo Banuelos <osvaldob@codeaurora.org> | 2016-03-10 14:03:32 -0800 |
|---|---|---|
| committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-05-20 19:23:47 -0700 |
| commit | 4660579bf6bb305bb837057c6cfc30582d170c6f (patch) | |
| tree | fb9010f400233ee3ce768c65d03a265fe4b162af /tools/perf/scripts/python/netdev-times.py | |
| parent | d9ff0d77afb3e5b79973b402f9a65bafa7d0cbd6 (diff) | |
clk: msm: clock-osm: register cycle counter callbacks with scheduler
Implement clk_osm_get_cpu_cycle_counter() which returns the
running cycle counter value. Register these two functions with
a scheduler-provided callback to allow the scheduler to estimate
CPU frequency without notification. Lastly, setup the cycle
counter to be increased on every rising edge of the XO clock
for improved accuracy.
Change-Id: Ie0f60ca79efc05901a88da13f7a6476f390518a5
CRs-Fixed: 988356
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
