Update frame_time attribute in FrameDataRecordGroup from unitless to s. (#1672)

This commit is contained in:
Hong Chen 2024-03-21 09:52:30 -05:00 committed by GitHub
parent 8f5a1e8bdb
commit d4f92cc501
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View File

@ -65,11 +65,11 @@ namespace Trick {
/** Thread start time */
long long start_time ;
/** Thread total frame scheduled time in tics*/
/** Thread total frame scheduled time in tics */
long long frame_sched_time ;
/** Thread total frame scheduled time in seconds*/
double frame_time ;
/** Thread total frame scheduled time in seconds */
double frame_time ; // trick_units(s)
} ;

View File

@ -92,7 +92,7 @@ namespace Trick {
long long frame_time ; /**< trick_io(**) */
/** Cumulative time in seconds used for job in frame (rt_stop_time - rt_start_time) / time_tic_value */
double frame_time_seconds; /**< trick_io(s) */
double frame_time_seconds; /**< trick_io(**) trick_units(s) */
/** Sim_object_id.id (for job identification in timeline logging) */
double frame_id; /**< trick_io(**) */

View File

@ -66,6 +66,7 @@ Trick::JobData::JobData(int in_thread, int in_id, std::string in_job_class_name
next_tics = 0 ;
frame_time = 0 ;
frame_time_seconds = 0.0 ;
}
void Trick::JobData::enable() {