53 #ifndef AMESOS2_TIMERS_HPP
54 #define AMESOS2_TIMERS_HPP
56 #include <Teuchos_TimeMonitor.hpp>
57 #include <Teuchos_Hashtable.hpp>
65 : mtxRedistTime_(*(Teuchos::TimeMonitor::getNewTimer(
"Time to redistribute data structures")))
66 , mtxConvTime_(*(Teuchos::TimeMonitor::getNewTimer(
"Time to convert matrix to solver format")))
67 , vecRedistTime_(*(Teuchos::TimeMonitor::getNewTimer(
"Time to redistribute vectors")))
68 , vecConvTime_(*(Teuchos::TimeMonitor::getNewTimer(
"Time to convert vectors to solver format")))
69 , preOrderTime_(*(Teuchos::TimeMonitor::getNewTimer(
"Time for matrix pre-order")))
70 , symFactTime_(*(Teuchos::TimeMonitor::getNewTimer(
"Time for symbolic factorization")))
71 , numFactTime_(*(Teuchos::TimeMonitor::getNewTimer(
"Time for numeric factorization")))
72 , solveTime_(*(Teuchos::TimeMonitor::getNewTimer(
"Time for solve")))
73 , totalTime_(*(Teuchos::TimeMonitor::getNewTimer(
"Total Time in Amesos2 interface")))
76 Teuchos::Time mtxRedistTime_;
77 Teuchos::Time mtxConvTime_;
78 Teuchos::Time vecRedistTime_;
79 Teuchos::Time vecConvTime_;
80 Teuchos::Time preOrderTime_;
81 Teuchos::Time symFactTime_;
82 Teuchos::Time numFactTime_;
83 Teuchos::Time solveTime_;
84 Teuchos::Time totalTime_;
90 #endif // AMESOS2_TIMERS_HPP