Unintended performance issue with integ_loop at end of scheduled job classes #243

Created a new executive job that waits for threads to finish and readies them
for their next frame of execution.  Created a new job class system_thread_sync
after the top of frame jobs and before the input processor is run to sync the
threads.  Along the way cleaned up instrumentation jobs on the threads to fix #290.
This commit is contained in:
Alex Lin
2016-08-24 10:55:27 -05:00
parent f9f1847385
commit 0072e7d6f0
10 changed files with 109 additions and 59 deletions

View File

@ -107,6 +107,7 @@ void Trick::FrameLog::add_recording_vars_for_jobs() {
(! all_jobs_vector[ii]->job_class_name.compare("derivative")) ||
(! all_jobs_vector[ii]->job_class_name.compare("dynamic_event")) ||
(! all_jobs_vector[ii]->job_class_name.compare("post_integration")) ||
(! all_jobs_vector[ii]->job_class_name.compare("system_thread_sync")) ||
(! all_jobs_vector[ii]->job_class_name.compare("top_of_frame")) ||
(! all_jobs_vector[ii]->job_class_name.compare("end_of_frame")))
) {