Adaptyst
A comprehensive and architecture-agnostic performance analysis tool
Loading...
Searching...
No Matches
adaptyst::Node Class Reference

#include <system.hpp>

Inheritance diagram for adaptyst::Node:
adaptyst::Identifiable

Public Member Functions

 Node (std::string name, std::shared_ptr< Entity > &entity)
bool init (unsigned int buf_size)
void process (std::shared_ptr< IR > ir_obj)
bool wait ()
void close ()
std::unordered_set< std::string > & get_tags ()
void add_in_tags (std::unordered_set< std::string > &tags)
void add_out_tags (std::unordered_set< std::string > &tags)
bool has_in_tag (std::string tag)
bool has_out_tag (std::string tag)
void add_module (std::unique_ptr< Module > &mod)
void profile_notify ()
int profile_wait ()
int get_modules_profiling ()
void inc_modules_profiling ()
void set_dir (fs::path path)
std::vector< std::string > get_log_types ()
std::string get_type ()
bool is_directing ()
profile_infoget_profile_info ()
void set_profile_info (profile_info info)
const char * get_cpu_mask ()
fs::path & get_tmp_dir ()
fs::path & get_local_config_dir ()
std::unordered_set< fs::path > get_src_code_paths ()
std::vector< InjectPathget_module_inject_paths ()
bool is_workflow_running ()
bool is_workflow_ever_run ()
unsigned long long get_workflow_start_time (bool &err)
unsigned long long get_workflow_end_time (bool &err)
void region_switch (std::string name, std::string part_id, std::string state, std::string timestamp_str)
Public Member Functions inherited from adaptyst::Identifiable
std::string & get_name ()
void set_parent (Identifiable *identifiable)
std::string get_parent_name ()
fs::path & get_path (fs::path start)

Additional Inherited Members

Protected Member Functions inherited from adaptyst::Identifiable
 Identifiable (std::string name)
void throw_error (std::string msg)

Constructor & Destructor Documentation

◆ Node()

adaptyst::Node::Node ( std::string name,
std::shared_ptr< Entity > & entity )

Member Function Documentation

◆ add_in_tags()

void adaptyst::Node::add_in_tags ( std::unordered_set< std::string > & tags)

◆ add_module()

void adaptyst::Node::add_module ( std::unique_ptr< Module > & mod)

◆ add_out_tags()

void adaptyst::Node::add_out_tags ( std::unordered_set< std::string > & tags)

◆ close()

void adaptyst::Node::close ( )

◆ get_cpu_mask()

const char * adaptyst::Node::get_cpu_mask ( )

◆ get_local_config_dir()

fs::path & adaptyst::Node::get_local_config_dir ( )

◆ get_log_types()

std::vector< std::string > adaptyst::Node::get_log_types ( )
virtual

◆ get_module_inject_paths()

std::vector< InjectPath > adaptyst::Node::get_module_inject_paths ( )

◆ get_modules_profiling()

int adaptyst::Node::get_modules_profiling ( )

◆ get_profile_info()

profile_info & adaptyst::Node::get_profile_info ( )

◆ get_src_code_paths()

std::unordered_set< fs::path > adaptyst::Node::get_src_code_paths ( )

◆ get_tags()

std::unordered_set< std::string > & adaptyst::Node::get_tags ( )

◆ get_tmp_dir()

fs::path & adaptyst::Node::get_tmp_dir ( )

◆ get_type()

std::string adaptyst::Node::get_type ( )
virtual

◆ get_workflow_end_time()

unsigned long long adaptyst::Node::get_workflow_end_time ( bool & err)

◆ get_workflow_start_time()

unsigned long long adaptyst::Node::get_workflow_start_time ( bool & err)

◆ has_in_tag()

bool adaptyst::Node::has_in_tag ( std::string tag)

◆ has_out_tag()

bool adaptyst::Node::has_out_tag ( std::string tag)

◆ inc_modules_profiling()

void adaptyst::Node::inc_modules_profiling ( )

◆ init()

bool adaptyst::Node::init ( unsigned int buf_size)

◆ is_directing()

bool adaptyst::Node::is_directing ( )

◆ is_workflow_ever_run()

bool adaptyst::Node::is_workflow_ever_run ( )

◆ is_workflow_running()

bool adaptyst::Node::is_workflow_running ( )

◆ process()

void adaptyst::Node::process ( std::shared_ptr< IR > ir_obj)

◆ profile_notify()

void adaptyst::Node::profile_notify ( )

◆ profile_wait()

int adaptyst::Node::profile_wait ( )

◆ region_switch()

void adaptyst::Node::region_switch ( std::string name,
std::string part_id,
std::string state,
std::string timestamp_str )

◆ set_dir()

void adaptyst::Node::set_dir ( fs::path path)

◆ set_profile_info()

void adaptyst::Node::set_profile_info ( profile_info info)

◆ wait()

bool adaptyst::Node::wait ( )

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