From 973a56a6e58489deca49e102318e69c5d5f29bdd Mon Sep 17 00:00:00 2001 From: Laura Gassner Date: Fri, 11 Nov 2016 12:55:47 +0100 Subject: [PATCH] add output of runtime at the end of inversion --- src/IFOS2D.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/IFOS2D.c b/src/IFOS2D.c index 446bd3a..c536d39 100644 --- a/src/IFOS2D.c +++ b/src/IFOS2D.c @@ -4396,6 +4396,8 @@ int main(int argc, char **argv){ fprintf(FP," stress exchange: \t %5.3f seconds \n",time_av_s_exchange); fprintf(FP," timestep: \t %5.3f seconds \n",time_av_timestep); } + time8=MPI_Wtime(); + fprintf(FP," Total real time of program: %4.2f seconds.\n",time8-time1); if(FORWARD_ONLY==0) { printf("\n Inversion finished after %d iterations. \n\n",iter); } else { -- GitLab