chombo-discharge
Loading...
Searching...
No Matches
CD_MemoryReport.H
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021-2026 SINTEF Energy Research
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6
13#ifndef CD_MEMORYREPORT_H
14#define CD_MEMORYREPORT_H
15
16// Chombo includes
17#include <REAL.H>
18#include <Vector.H>
19
20// Our includes
21#include <CD_NamespaceHeader.H>
22
26namespace MemoryReport {
27
31 void
33
41 void
43
50 void
52} // namespace MemoryReport
53
54#include <CD_NamespaceFooter.H>
55
56#endif
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38
Namespace containing utility functions for reporting memory usage in various formats.
Definition CD_MemoryReport.H:26
void getMemoryUsage(Vector< Real > &a_peak, Vector< Real > &a_unfreed)
Get peak and unfreed memory usage per rank.
Definition CD_MemoryReport.cpp:84
void getMaxMinMemoryUsage()
Print the global maximum and minimum memory usage. This includes peak memory and unfreed memory.
Definition CD_MemoryReport.cpp:24