Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
timestep_report.hpp
Go to the documentation of this file.
1// -------------------------------------------------------//
2//
3// SHAMROCK code for hydrodynamics
4// Copyright (c) 2021-2026 Timothée David--Cléris <tim.shamrock@proton.me>
5// SPDX-License-Identifier: CeCILL Free Software License Agreement v2.1
6// Shamrock is licensed under the CeCILL 2.1 License, see LICENSE for more information
7//
8// -------------------------------------------------------//
9
10#pragma once
11
22#include <optional>
23#include <string>
24
25namespace shammodels {
26
27 std::string report_perf_timestep(
28 f64 rate,
29 u64 nobj,
30 u64 npatch,
31 f64 tcompute,
32 f64 mpi_timer,
33 f64 alloc_time_device,
34 f64 alloc_time_host,
35 size_t max_mem_device,
36 size_t max_mem_host,
37 shamsys::SystemMetrics system_metrics = {},
38 bool report_power_usage = false);
39
40} // namespace shammodels
double f64
Alias for double.
std::uint64_t u64
64 bit unsigned integer
namespace for models
Definition AMRBlock.hpp:26