Debian Codegraph @

packages/seacas/libraries/ioss/src/Ioss_MemoryUtils.h

raw
1 // Copyright(C) 1999-2024 National Technology & Engineering Solutions
2 // of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3 // NTESS, the U.S. Government retains certain rights in this software.
4 //
5 // See packages/seacas/LICENSE for details
6
7 #pragma once
8 #include <cstddef> // for size_t
9
10 #include "ioss_export.h"
11
12 namespace Ioss {
13 class IOSS_EXPORT MemoryUtils
14 {
15 public:
16 /** \brief Return amount of memory being used on this processor */
17 static size_t get_memory_info();
18
19 /** \brief Return maximum amount of memory that was used on this processor */
20 static size_t get_hwm_memory_info();
21 };
22 } // namespace Ioss