Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
system_metrics.cpp File Reference
#include "shambase/aliases_int.hpp"
#include "shambase/popen.hpp"
#include "shambase/stacktrace.hpp"
#include "shamalgs/collective/reduction.hpp"
#include "shamcomm/local_rank.hpp"
#include "shamcomm/wrapper.hpp"
#include "shamsys/system_metrics.hpp"
#include <cstdlib>
+ Include dependency graph for system_metrics.cpp:

Go to the source code of this file.

Classes

class  shamsys::AuroraSystemMetricReporter
 
class  shamsys::IntelRAPLSystemMetricReport
 
class  shamsys::NoopSystemMetricReporter
 

Namespaces

namespace  shamsys
 namespace for the system handling
 

Functions

bool shamsys::has_reporter ()
 
std::unique_ptr< ISystemMetricReportershamsys::make_reporter (std::string_view reporter_name)
 
std::unique_ptr< ISystemMetricReportershamsys::make_reporter ()
 
void shamsys::test_reporter (std::unique_ptr< ISystemMetricReporter > &reporter)
 test that there is no crashes
 
std::unique_ptr< ISystemMetricReporter > & shamsys::current_reporter ()
 
SystemMetrics shamsys::get_system_metrics (bool barrier=true)
 
std::vector< SystemMetricsshamsys::gather_rank_metrics (const SystemMetrics &input)
 
SystemMetrics shamsys::aggregate_rank_metrics (const std::vector< SystemMetrics > &input)
 
FormattedSystemMetrics shamsys::format_system_metrics (const SystemMetrics &input)
 Only to be used on deltas, not the raw one.
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file system_metrics.cpp.