MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_Memory.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // MueLu: A package for multigrid based preconditioning
4 //
5 // Copyright 2012 NTESS and the MueLu contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef MUELU_MEMORY_HPP
11 #define MUELU_MEMORY_HPP
12 
13 #include <string>
14 #include "Teuchos_Time.hpp"
15 #include "Teuchos_Comm.hpp"
16 
17 namespace Teuchos {
18 class Time;
19 }
20 namespace Teuchos {
21 template <typename Ordinal>
22 class Comm;
23 }
24 
25 namespace MueLu {
26 
27 namespace MemUtils {
28 
29 std::string PrintMemoryUsage();
30 std::string PrintMemoryInfo();
31 void ReportTimeAndMemory(Teuchos::Time const &timer, Teuchos::Comm<int> const &Comm);
32 
33 } // namespace MemUtils
34 
35 } // namespace MueLu
36 
37 #endif // ifndef MUELU_MEMORY_HPP
std::string PrintMemoryUsage()
void ReportTimeAndMemory(Teuchos::Time const &timer, Teuchos::Comm< int > const &Comm)
std::string PrintMemoryInfo()