Sierra Toolkit  Version of the Day
PrintTimer.hpp
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2010 Sandia Corporation. */
3 /* Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive */
4 /* license for use of this work by or on behalf of the U.S. Government. */
5 /* Export of this program may require a license from the */
6 /* United States Government. */
7 /*------------------------------------------------------------------------*/
8 
9 #ifndef STK_UTIL_DIAG_PrintTimer_hpp
10 #define STK_UTIL_DIAG_PrintTimer_hpp
11 
12 #include <iosfwd>
13 
14 #include <stk_util/diag/Timer.hpp>
15 #include <stk_util/parallel/Parallel.hpp>
16 
17 namespace stk_classic {
18 namespace diag {
19 
20 std::ostream &printXML(std::ostream& os, MetricsMask metrics_mask, bool checkpoint);
21 
22 std::ostream &printTimersTable(std::ostream& os, Timer root_timer, MetricsMask metrics_mask, bool timer_checkpoint);
23 
24 std::ostream &printTimersTable(std::ostream& os, Timer root_timer, MetricsMask metrics_mask, bool timer_checkpoint, ParallelMachine parallel_machine);
25 
26 } // namespace diag
27 } // namespace stk_classic
28 
29 #endif // STK_UTIL_DIAG_PrintTimer_hpp
Sierra Toolkit.
MPI_Comm ParallelMachine
Definition: Parallel.hpp:32