From 9b5ffd0484a07bcfc71ce265783a8b61d80ac6ad Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Wed, 10 May 2017 14:27:15 -0500 Subject: Add timestamps to Simics Istep messages Also added entries for -kernel startup -cxx testcase start (99.1) -shutdown Change-Id: I870961ae8ea0b43003db6bafb21addf660ab99ef Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40346 Reviewed-by: Martin Gloff Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi Tested-by: FSP CI Jenkins Tested-by: Jenkins OP Build CI Reviewed-by: Daniel M. Crowell --- src/build/debug/simics-debug-framework.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/build') diff --git a/src/build/debug/simics-debug-framework.py b/src/build/debug/simics-debug-framework.py index ced40566e..653b56678 100755 --- a/src/build/debug/simics-debug-framework.py +++ b/src/build/debug/simics-debug-framework.py @@ -591,7 +591,9 @@ def magic_instruction_callback(user_arg, cpu, arg): # Print current istep out to simics console major_istep = cpu.r4 minor_istep = cpu.r5 - print "ISTEP %d.%d" % (major_istep, minor_istep) + percent_s = "%s" + dateCommand = "shell \" date +'%s > ISTEP %d.%d' \""%(percent_s,major_istep,minor_istep) + SIM_run_alone(run_command, dateCommand ) if arg == 7055: # MAGIC_CONTINUOUS_TRACE hb_tracBinaryBuffer = cpu.r4 -- cgit v1.2.1