docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::codegen::InstrumentationInfo Class Reference

#include <sdfg/codegen/instrumentation/instrumentation_info.h>

Public Member Functions

 InstrumentationInfo (size_t element_id, std::string_view element_desc, const TargetType &target_type, InstrumentationEventType event_type, const analysis::LoopInfo &loop_info={}, const std::unordered_map< std::string, std::string > &metrics={})
size_t element_id () const
const std::string & element_desc () const
const TargetType & target_type () const
InstrumentationEventType event_type () const
const analysis::LoopInfo & loop_info () const
const std::unordered_map< std::string, std::string > & metrics () const
bool sampling () const
void set_sampling (bool sampling)
std::optional< ElementId > logical_region_id () const
void set_logical_region_id (std::optional< ElementId > logical_region_id)
std::optional< ElementId > source_loop_id () const
void set_source_loop_id (std::optional< ElementId > source_loop_id)
const std::optional< nlohmann::json > & expected_performance () const
void set_expected_performance (std::optional< nlohmann::json > expected_performance)
std::optional< double > vector_distance () const
void set_vector_distance (std::optional< double > vector_distance)
const std::vector< InstrumentationMemberInfo > & members () const
void set_members (std::vector< InstrumentationMemberInfo > members)

Constructor & Destructor Documentation

◆ InstrumentationInfo()

sdfg::codegen::InstrumentationInfo::InstrumentationInfo ( size_t element_id,
std::string_view element_desc,
const TargetType & target_type,
InstrumentationEventType event_type,
const analysis::LoopInfo & loop_info = {},
const std::unordered_map< std::string, std::string > & metrics = {} )

Member Function Documentation

◆ element_desc()

const std::string & sdfg::codegen::InstrumentationInfo::element_desc ( ) const

◆ element_id()

size_t sdfg::codegen::InstrumentationInfo::element_id ( ) const

◆ event_type()

InstrumentationEventType sdfg::codegen::InstrumentationInfo::event_type ( ) const

◆ expected_performance()

const std::optional< nlohmann::json > & sdfg::codegen::InstrumentationInfo::expected_performance ( ) const

◆ logical_region_id()

std::optional< ElementId > sdfg::codegen::InstrumentationInfo::logical_region_id ( ) const

◆ loop_info()

const analysis::LoopInfo & sdfg::codegen::InstrumentationInfo::loop_info ( ) const

◆ members()

const std::vector< InstrumentationMemberInfo > & sdfg::codegen::InstrumentationInfo::members ( ) const

◆ metrics()

const std::unordered_map< std::string, std::string > & sdfg::codegen::InstrumentationInfo::metrics ( ) const

◆ sampling()

bool sdfg::codegen::InstrumentationInfo::sampling ( ) const

◆ set_expected_performance()

void sdfg::codegen::InstrumentationInfo::set_expected_performance ( std::optional< nlohmann::json > expected_performance)

◆ set_logical_region_id()

void sdfg::codegen::InstrumentationInfo::set_logical_region_id ( std::optional< ElementId > logical_region_id)

◆ set_members()

void sdfg::codegen::InstrumentationInfo::set_members ( std::vector< InstrumentationMemberInfo > members)

◆ set_sampling()

void sdfg::codegen::InstrumentationInfo::set_sampling ( bool sampling)

◆ set_source_loop_id()

void sdfg::codegen::InstrumentationInfo::set_source_loop_id ( std::optional< ElementId > source_loop_id)

◆ set_vector_distance()

void sdfg::codegen::InstrumentationInfo::set_vector_distance ( std::optional< double > vector_distance)

◆ source_loop_id()

std::optional< ElementId > sdfg::codegen::InstrumentationInfo::source_loop_id ( ) const

◆ target_type()

const TargetType & sdfg::codegen::InstrumentationInfo::target_type ( ) const

◆ vector_distance()

std::optional< double > sdfg::codegen::InstrumentationInfo::vector_distance ( ) const

The documentation for this class was generated from the following file: