https://mooseframework.inl.gov
Loading...
Searching...
No Matches
VectorMemoryUsage.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
13#include "MemoryUsageReporter.h"
14#include "MemoryUtils.h"
15
std::vector< Real > VectorPostprocessorValue
Definition MooseTypes.h:231
This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Mix-in class for querying memory metrics used by MemoryUsage and VectorMemoryUsage.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
Generate a table of various memory metrics indexed by MPI rank.
VectorPostprocessorValue & _col_node_utilization
RAM utilization of the physical node (i.e. what fraction of the total RAM is the simulation using)
static InputParameters validParams()
VectorPostprocessorValue & _col_virtual_mem
virtual memory usage per rank
virtual void timestepSetup() override
Gets called at the beginning of the timestep before this object is asked to do its job.
VectorPostprocessorValue & _col_total_ram
total RAM available on the physical node the rank is located at
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
VectorPostprocessorValue & _col_physical_mem
physical memory usage per rank
VectorPostprocessorValue & _col_page_faults
hard page faults per rank (Linux only), i.e. swap frequency
MemoryUtils::MemUnits _mem_units
The unit prefix for the reported memory statistics (kilobyte, megabyte, etc).
virtual void finalize() override
Finalize.
virtual void execute() override
Execute method.
const bool _report_peak_value
peak values
VectorPostprocessorValue & _col_hardware_id
hardware id for the physical node the rank is located at