16 double t_iter = stats->
t_iter;
19 double t_mvA = stats->
t_mvA;
20 double t_mvB = stats->
t_mvB;
21 double t_svB = stats->
t_svB;
24 double t_eig = stats->
t_eig;
25 double t_blas = stats->
t_blas;
26 double t_ritz = stats->
t_ritz;
27 double t_polAv = stats->
t_polAv;
28 double t_ratAv = stats->
t_ratAv;
29 double t_sth = stats->
t_sth;
30 size_t n_mvA = stats->
n_mvA;
31 size_t n_mvB = stats->
n_mvB;
32 size_t n_svB = stats->
n_svB;
34 size_t n_polAv = stats->
n_polAv;
35 size_t n_ratAv = stats->
n_ratAv;
41 fprintf(fstats,
" Timing (sec):\n");
42 if (t_setBsv) { fprintf(fstats,
" Setup Solver for B : %f\n", t_setBsv); }
43 if (t_setASigBsv) { fprintf(fstats,
" Setup Solver for A-SIG*B : %f\n", t_setASigBsv); }
44 if (t_iter) { fprintf(fstats,
" Iteration time (tot) : %f\n", t_iter); }
46 fprintf(fstats,
" - - - - - - - - - - - - - - - - -\n");
48 if (n_polAv) { fprintf(fstats,
" Pol(A)*v : %f (%8ld, avg %f)\n", t_polAv, n_polAv, t_polAv / n_polAv); }
49 if (n_ratAv) { fprintf(fstats,
" Rat(A)*v : %f (%8ld, avg %f)\n", t_ratAv, n_ratAv, t_ratAv / n_ratAv); }
50 if (n_mvA) { fprintf(fstats,
" Matvec matrix A : %f (%8ld, avg %f)\n", t_mvA, n_mvA, t_mvA / n_mvA); }
51 if (n_mvB) { fprintf(fstats,
" Matvec matrix B : %f (%8ld, avg %f)\n", t_mvB, n_mvB, t_mvB / n_mvB); }
52 if (n_svB) { fprintf(fstats,
" Solve with B : %f (%8ld, avg %f)\n", t_svB, n_svB, t_svB / n_svB); }
53 if (n_svASigB) { fprintf(fstats,
" Solve with A-SIGMA*B : %f (%8ld, avg %f)\n", t_svASigB, n_svASigB, t_svASigB / n_svASigB); }
54 if (t_reorth) { fprintf(fstats,
" Reorthogonalization : %f\n", t_reorth); }
55 if (t_eig) { fprintf(fstats,
" LAPACK eig : %f\n", t_eig); }
56 if (t_blas) { fprintf(fstats,
" Other BLAS : %f\n", t_blas); }
57 if (t_ritz) { fprintf(fstats,
" Compute Ritz vectors : %f\n", t_ritz); }
59 if (t_sth) { fprintf(fstats,
" Other : %f\n", t_sth); }
void StatsPrint(FILE *fstats)
This file contains function prototypes and constant definitions internally used in EVSL...
evslStat evslstat
global statistics of EVSL
timing and memory statistics of EVSL