mirror of
https://github.com/nasa/trick.git
synced 2025-01-29 15:43:57 +00:00
The total overruns printout at sim exit prints the wrong parameter. #560
Changed the printout to print the total number of overruns.
This commit is contained in:
parent
4b2f6e660f
commit
bc8d1a3796
@ -489,7 +489,7 @@ int Trick::RealtimeSync::shutdown() {
|
||||
os << "\n" <<
|
||||
" REALTIME SHUTDOWN STATS:\n" ;
|
||||
if ( active ) {
|
||||
os << " REALTIME TOTAL OVERRUNS: " << std::setw(12) << frame_overrun_cnt << "\n" ;
|
||||
os << " REALTIME TOTAL OVERRUNS: " << std::setw(12) << total_overrun << "\n" ;
|
||||
}
|
||||
if ( sim_end_init_time != 0 ) {
|
||||
double init_time = (sim_end_init_time - sim_start_time) / (double)default_clock->clock_tics_per_sec ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user