|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
#include "common.h"#include <cstdint>#include <cstdlib>#include <iostream>#include <sstream>#include "grid.h"#include "logger.h"#include "object_wrapper.h"#include "memory_report.h"
Go to the source code of this file.
Functions | |
| void | report_cell_and_block_counts (const dccrg::Dccrg< spatial_cell::SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid) |
| uint64_t | get_node_free_memory () |
| void | report_memory_consumption (const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, double extra_bytes) |
Variables | |
| Logger | logFile |
| uint64_t get_node_free_memory | ( | ) |
Return the amount of free memory on the node in bytes
Definition at line 85 of file memory_report.cpp.


| void report_cell_and_block_counts | ( | const dccrg::Dccrg< spatial_cell::SpatialCell, dccrg::Cartesian_Geometry > & | mpiGrid | ) |
Report spatial cell counts per refinement level as well as velocity cell counts per population into logfile
Definition at line 49 of file memory_report.cpp.


| void report_memory_consumption | ( | const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & | mpiGrid, |
| double | extra_bytes ) |
Measures memory consumption and writes it into logfile. Collective operation on MPI_COMM_WORLD extra_bytes is used for additional buffer for the high water mark, for example when estimating refinement memory usage
Definition at line 118 of file memory_report.cpp.

