aboutsummaryrefslogtreecommitdiff
path: root/ell_grid_solve.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-03-25 18:50:38 +0100
committerAnton Khirnov <anton@khirnov.net>2019-03-25 18:50:38 +0100
commitb742ce05034ab8e844487c0c767d470b706cb71f (patch)
tree210ae070913908b02abf391a1a69f50679451c4b /ell_grid_solve.h
parentd97e85e51dc43b2e78ddf42903573a7aa8ad75cf (diff)
egs: add more timers
Diffstat (limited to 'ell_grid_solve.h')
-rw-r--r--ell_grid_solve.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/ell_grid_solve.h b/ell_grid_solve.h
index d56616b..abe3958 100644
--- a/ell_grid_solve.h
+++ b/ell_grid_solve.h
@@ -91,8 +91,14 @@ typedef struct EGSRelaxContext {
typedef struct EGSExactContext {
int64_t count_mat_construct;
int64_t time_mat_construct;
- int64_t count_lin_solve;
- int64_t time_lin_solve;
+ int64_t count_mat_transpose;
+ int64_t time_mat_transpose;
+ int64_t count_bicgstab_solve;
+ int64_t time_bicgstab_solve;
+ int64_t count_lu_solve;
+ int64_t time_lu_solve;
+ int64_t count_export;
+ int64_t time_export;
} EGSExactContext;
typedef struct EGSContext {
@@ -192,8 +198,18 @@ typedef struct EGSContext {
/* timings */
int64_t time_boundaries;
int64_t count_boundaries;
+ int64_t time_bnd_fixval;
+ int64_t count_bnd_fixval;
+ int64_t time_bnd_falloff;
+ int64_t count_bnd_falloff;
+ int64_t time_bnd_reflect;
+ int64_t count_bnd_reflect;
+ int64_t time_bnd_corners;
+ int64_t count_bnd_corners;
int64_t time_res_calc;
int64_t count_res;
+ int64_t time_init;
+ int64_t count_init;
int64_t time_total;
} EGSContext;