Skip to content
Snippets Groups Projects
Commit a79f153b authored by lnx build's avatar lnx build Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdp_v2: Print epoch_ns and epoch_cyc" into opensource-tools.lnx.1.0-dev.1.0

parents e3bb1dee 24d0464e
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 # 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 # it under the terms of the GNU General Public License version 2 and
...@@ -868,3 +868,6 @@ def get_wdog_timing(ramdump): ...@@ -868,3 +868,6 @@ def get_wdog_timing(ramdump):
last_jiffies_update/1000000000.0)) last_jiffies_update/1000000000.0))
print_out_str('Core which updates jiffies(tick_do_timer_cpu): {0}'.format( print_out_str('Core which updates jiffies(tick_do_timer_cpu): {0}'.format(
tick_do_timer_cpu)) 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