Sierra Toolkit Version of the Day
PrintTimer.hpp
00001 /*------------------------------------------------------------------------*/
00002 /*                 Copyright 2010 Sandia Corporation.                     */
00003 /*  Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive   */
00004 /*  license for use of this work by or on behalf of the U.S. Government.  */
00005 /*  Export of this program may require a license from the                 */
00006 /*  United States Government.                                             */
00007 /*------------------------------------------------------------------------*/
00008 
00009 #ifndef stk_util_diag_PrintTimer_hpp
00010 #define stk_util_diag_PrintTimer_hpp
00011 
00012 #include <iosfwd>
00013 
00014 #include <stk_util/diag/Timer.hpp>
00015 #include <stk_util/parallel/Parallel.hpp>
00016 
00017 namespace stk {
00018 namespace diag {
00019 
00020 std::ostream &printXML(std::ostream& os, MetricsMask metrics_mask, bool checkpoint);
00021 
00022 std::ostream &printTimersTable(std::ostream& os, Timer root_timer, MetricsMask metrics_mask, bool timer_checkpoint);
00023 
00024 std::ostream &printTimersTable(std::ostream& os, Timer root_timer, MetricsMask metrics_mask, bool timer_checkpoint, ParallelMachine parallel_machine);
00025 
00026 } // namespace diag
00027 } // namespace stk
00028 
00029 #endif // stk_util_diag_PrintTimer_hpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends