From 6567ec3afce0badd218dc5d07ec2bdccdfe24038 Mon Sep 17 00:00:00 2001 From: chortas Date: Thu, 16 Dec 2021 12:01:21 -0300 Subject: [PATCH] Add elapsed_time to prebuild_gwn --- fftma_module/gen/lib_src/prebuild_gwn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftma_module/gen/lib_src/prebuild_gwn.c b/fftma_module/gen/lib_src/prebuild_gwn.c index 4e376f1..b6b092f 100644 --- a/fftma_module/gen/lib_src/prebuild_gwn.c +++ b/fftma_module/gen/lib_src/prebuild_gwn.c @@ -54,5 +54,5 @@ void prebuild_gwn(struct grid_mod grid, int n[3], struct realization_mod* realin t = clock() - t; double time_taken = ((double)t)/CLOCKS_PER_SEC; // calculate the elapsed time - log_info("RESULT = success, ELAPSED = %f seconds"); + log_info("RESULT = success, ELAPSED = %f seconds", time_taken); }