Skip to content
Snippets Groups Projects
Commit 24d0464e authored by Gopi Krishna Nedanuri's avatar Gopi Krishna Nedanuri
Browse files

lrdp_v2: Print epoch_ns and epoch_cyc

   Print epoch_ns and epoch_cyc useful in HLOS to QTimer time
conversion.

Change-Id: I949c1a3c8df4242ca2e2cd2e1b8149401da6f893
parent dfbbf22f
No related branches found
No related tags found
No related merge requests found
# Copyright (c) 2012-2016, The Linux Foundation. All rights reserved.
# Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 and
......@@ -868,3 +868,6 @@ def get_wdog_timing(ramdump):
last_jiffies_update/1000000000.0))
print_out_str('Core which updates jiffies(tick_do_timer_cpu): {0}'.format(
tick_do_timer_cpu))
epoch_ns = ramdump.read_word('cd.read_data[0].epoch_ns')
epoch_cyc = ramdump.read_word('cd.read_data[0].epoch_cyc')
print_out_str('epoch_ns: {0}ns epoch_cyc: {1}'.format(epoch_ns,epoch_cyc))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment