From 8aa8f31e3d8d15efc6b2480b3339de9e7a50534a Mon Sep 17 00:00:00 2001 From: Alex Lin Date: Fri, 6 Oct 2017 10:22:38 -0500 Subject: [PATCH] Frame logging for child threads not working. #484 Prepended "trick_" to the frame scheduled time variable name. --- trick_source/sim_services/FrameLog/FrameLog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trick_source/sim_services/FrameLog/FrameLog.cpp b/trick_source/sim_services/FrameLog/FrameLog.cpp index 66b7128e..23e8ed94 100644 --- a/trick_source/sim_services/FrameLog/FrameLog.cpp +++ b/trick_source/sim_services/FrameLog/FrameLog.cpp @@ -177,7 +177,7 @@ void Trick::FrameLog::add_recording_vars_for_jobs() { (*fdrg_it)->set_thread(ii); if ( ii > 0 ) { std::ostringstream group_name ; - group_name << "frame_userjobs_C" << ii ; + group_name << "trick_frame_userjobs_C" << ii ; (*fdrg_it)->add_variable( group_name.str() + ".frame_sched_time") ; } } @@ -784,7 +784,7 @@ int Trick::FrameLog::create_DP_job_files() { fprintf(fpx, " \n"); fprintf(fpx, " sys.exec.out.time\n"); std::ostringstream group_name ; - group_name << "frame_userjobs_C" << (page_count * 8 + ii + 1) ; + group_name << "trick_frame_userjobs_C" << (page_count * 8 + ii + 1) ; fprintf(fpx, " %s.frame_sched_time\n", time_scale,group_name.str().c_str()); fprintf(fpx, " \n");