SpECTRE  v2024.04.12
mem_monitor Namespace Reference

Classes

struct  ContributeMemoryData
 Simple action meant to be run on the MemoryMonitor component that collects sizes from Groups and Nodegroups. More...
 
struct  MemoryMonitor
 Singleton parallel component used for monitoring memory usage of other parallel components. More...
 
struct  ProcessArray
 Simple action meant to be used as a callback for Parallel::contribute_to_reduction that writes the size of an Array parallel component to disk. More...
 
struct  ProcessGroups
 Simple action meant to be run on every branch of a Group or NodeGroup that computes the size of the local branch and reports that size to the MemoryMonitor using the ContributeMemoryData simple action. More...
 
struct  ProcessSingleton
 Simple action meant to be run on a Singleton that writes the size of the Singleton component to disk. More...
 

Functions

template<typename ParallelComponent >
std::string subfile_name ()
 

Detailed Description

Holds the MemoryMonitor parallel component and all actions and tags related to the memory monitor.

Function Documentation

◆ subfile_name()

template<typename ParallelComponent >
std::string mem_monitor::subfile_name ( )

Gives full subfile path to the dat file for the memory monitor of a parallel component