Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkMemoryUtilities.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkMemoryUtilities_h
14 #define mitkMemoryUtilities_h
15 
16 #include <MitkCoreExports.h>
17 #include <itkMacro.h>
18 
19 namespace mitk
20 {
22  namespace MemoryUtilities
23  {
36 
43  }
44 }
45 
46 #endif
#define MITKCORE_EXPORT
MITKCORE_EXPORT size_t GetProcessMemoryUsage()
Return the memory usage of the current process in bytes.
MITKCORE_EXPORT size_t GetTotalSizeOfPhysicalRam()
Return the total size of physical RAM in bytes.
Find image slices visible on a given plane.