MueLu Version of the Day
Loading...
Searching...
No Matches
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
17namespace Teuchos {
18class Time;
19}
20namespace Teuchos {
21template <typename Ordinal>
22class Comm;
23}
24
25namespace MueLu {
26
27namespace MemUtils {
28
29std::string PrintMemoryUsage();
30std::string PrintMemoryInfo();
31void 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()
Namespace for MueLu classes and methods.