Describe the bug
timing_log.csv only reports a portion of the total runtime. For example, in a recent 2022 run, the total model runtime was 125 minutes, but the timing_log file reported only 71 minutes.
To Reproduce
Re-run any scenario and compare timing_log.csv with activitysim.log file (in populationsim/output directory).
Expected behavior
Total runtimes from both files should match.
Potential resolution
timing_log.csv reflects only a single MGRA sub-balancing process. However, the full MGRA balancing step includes multiple sub-processes. The part of code that writes out timing_log.csv needs to be fixed.
Describe the bug
timing_log.csv only reports a portion of the total runtime. For example, in a recent 2022 run, the total model runtime was 125 minutes, but the timing_log file reported only 71 minutes.
To Reproduce
Re-run any scenario and compare timing_log.csv with activitysim.log file (in populationsim/output directory).
Expected behavior
Total runtimes from both files should match.
Potential resolution
timing_log.csv reflects only a single MGRA sub-balancing process. However, the full MGRA balancing step includes multiple sub-processes. The part of code that writes out timing_log.csv needs to be fixed.