MPI-SCATCI  2.0
An MPI version of SCATCI
memorymanager_module::memorymanager Type Reference

This is a simple class to handle memory management tracking. More...

Public Member Functions

procedure, public construct => memorymanager_ctor
 
procedure, public init_memory
 Initialize the memory with a new value. More...
 
procedure, public track_memory
 Tracks. More...
 
procedure, public free_memory
 
procedure, public get_available_memory
 
procedure, public get_scaled_available_memory
 
procedure, public print_memory_report
 

Private Attributes

integer(longint) total_local_memory = 0
 The total memory we have been assigned. More...
 
integer(longint) available_local_memory = 0
 Memory we have left over. More...
 
integer(longint) cached_tracked_memory = 0
 
logical initialized = .false.
 

Detailed Description

This is a simple class to handle memory management tracking.

Authors
A Al-Refaie
Date
2017

Definition at line 46 of file MemoryManager_module.f90.

Member Function/Subroutine Documentation

◆ construct()

procedure, public memorymanager_module::memorymanager::construct

Definition at line 54 of file MemoryManager_module.f90.

◆ free_memory()

procedure, public memorymanager_module::memorymanager::free_memory

Definition at line 57 of file MemoryManager_module.f90.

◆ get_available_memory()

procedure, public memorymanager_module::memorymanager::get_available_memory

Definition at line 58 of file MemoryManager_module.f90.

◆ get_scaled_available_memory()

procedure, public memorymanager_module::memorymanager::get_scaled_available_memory

Definition at line 59 of file MemoryManager_module.f90.

◆ init_memory()

procedure, public memorymanager_module::memorymanager::init_memory

Initialize the memory with a new value.

Definition at line 55 of file MemoryManager_module.f90.

◆ print_memory_report()

procedure, public memorymanager_module::memorymanager::print_memory_report

Definition at line 60 of file MemoryManager_module.f90.

◆ track_memory()

procedure, public memorymanager_module::memorymanager::track_memory

Tracks.

Definition at line 56 of file MemoryManager_module.f90.

Member Data Documentation

◆ available_local_memory

integer(longint) memorymanager_module::memorymanager::available_local_memory = 0
private

Memory we have left over.

Definition at line 49 of file MemoryManager_module.f90.

◆ cached_tracked_memory

integer(longint) memorymanager_module::memorymanager::cached_tracked_memory = 0
private

Definition at line 50 of file MemoryManager_module.f90.

◆ initialized

logical memorymanager_module::memorymanager::initialized = .false.
private

Definition at line 51 of file MemoryManager_module.f90.

◆ total_local_memory

integer(longint) memorymanager_module::memorymanager::total_local_memory = 0
private

The total memory we have been assigned.

Definition at line 48 of file MemoryManager_module.f90.


The documentation for this type was generated from the following file: