diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-04-01 19:18:06 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-04-01 19:18:06 +0200 |
commit | 05fa685402151ad86563a1b9d2ef9b7294cb2d75 (patch) | |
tree | 711c30bce0ce4b82bc9784d66f2bf110cd88efdf /ell_grid_solve.c | |
parent | a4a5fc2666bfd3ca009ce6c7d05bc83ff4d57313 (diff) |
mg2d: extend stats logging
Diffstat (limited to 'ell_grid_solve.c')
-rw-r--r-- | ell_grid_solve.c | 2 |
1 files changed, 2 insertions, 0 deletions
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++; |