Skip to content

SampleManagementSettings

A singleton for sample management settings that may differ between experiments.

#include <sample_management.hpp>

Public Functions

Name
void set_hot_path(const std::set< std::string > & hot_path_nodes, const std::set< std::string > & hot_path_roots, const std::string & hot_path_sink)
void set_benchmark_mode(bool value)
bool is_in_benchmark_mode() const
bool is_hot_path_root(const std::string & name) const
bool is_hot_path_node(const std::string & name) const
const std::string & hot_path_sink() const
std::string hot_path_name() const
SampleManagementSettings & get()

Public Functions Documentation

function set_hot_path

inline void set_hot_path(
    const std::set< std::string > & hot_path_nodes,
    const std::set< std::string > & hot_path_roots,
    const std::string & hot_path_sink
)

function set_benchmark_mode

inline void set_benchmark_mode(
    bool value
)

function is_in_benchmark_mode

inline bool is_in_benchmark_mode() const

function is_hot_path_root

inline bool is_hot_path_root(
    const std::string & name
) const

function is_hot_path_node

inline bool is_hot_path_node(
    const std::string & name
) const

function hot_path_sink

inline const std::string & hot_path_sink() const

function hot_path_name

inline std::string hot_path_name() const

function get

static inline SampleManagementSettings & get()

Updated on 2023-09-17 at 15:43:17 +0000