From 05fa685402151ad86563a1b9d2ef9b7294cb2d75 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 1 Apr 2019 19:18:06 +0200 Subject: mg2d: extend stats logging --- ell_grid_solve.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ell_grid_solve.c') diff --git a/ell_grid_solve.c b/ell_grid_solve.c index d597e58..6c8a863 100644 --- a/ell_grid_solve.c +++ b/ell_grid_solve.c @@ -586,6 +586,8 @@ static int solve_exact(EGSContext *ctx) start = gettime(); ret = mg2di_bicgstab_solve(e->bicgstab, e->mat, e->rhs, e->x); + if (ret >= 0) + ec->bicgstab_iterations += ret; ec->time_bicgstab_solve += gettime() - start; ec->count_bicgstab_solve++; -- cgit v1.2.3