+1
−0
+8
−5
+4
−0
Loading
This commit adds a new timer specifically for TRITON-SWMM coupling operations, following the existing timer implementation pattern. Changes: - Added SWMM_TIME constant definition in src/constants.h - Added timer start/stop around SWMM coupling computation in src/triton.h - Timer stops COMPUTE_TIME before starting SWMM_TIME (mutually exclusive) - Timer restarts COMPUTE_TIME after SWMM_TIME stops - Updated write_times() in src/output.h to include SWMM_TIME reporting - Added swmm_time calculation and MPI gather - Updated other_time formula to subtract swmm_time - Updated output CSV header to include SWMM column Timer hierarchy verification: - SWMM_TIME is mutually exclusive with COMPUTE_TIME - Sum of all component timers equals SIMULATION_TIME - other_time = simulation_time - (compute + mpi + io + resize + swmm) Performance output format (new SWMM column): %Rank, Compute, MPI, IO, Resize, SWMM, Other, Simulation, Init, Total