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

#include <system.hpp>

Inheritance diagram for adaptyst::Entity:
adaptyst::Identifiable

Public Types

enum  AccessMode { LOCAL , REMOTE , CUSTOM , CUSTOM_REMOTE }
 

Public Member Functions

 Entity (std::string id, AccessMode access_mode, unsigned int processing_threads, fs::path local_config_path, fs::path tmp_dir)
 
void add_node (std::shared_ptr< Node > &node)
 
void add_connection (std::string id, std::string departure_node, std::string arrival_node)
 
std::shared_ptr< Node > & get_node (std::string id)
 
void set_directing_node (std::string node)
 
std::string get_directing_node ()
 
profile_infoget_profile_info ()
 
void set_profile_info (profile_info &info)
 
void init ()
 
void process (bool save_src_code_paths)
 
void close ()
 
void set_entity_dir (fs::path &entity_dir)
 
void profile_notify ()
 
int profile_wait ()
 
const char * get_cpu_mask ()
 
fs::path & get_tmp_dir ()
 
fs::path & get_local_config_dir ()
 
std::vector< std::shared_ptr< Node > > get_all_nodes ()
 
std::vector< std::string > get_log_types ()
 
std::string get_type ()
 
void set_sdfg (std::string sdfg)
 
std::unordered_set< fs::path > & get_src_code_paths ()
 
- 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)
 

Member Enumeration Documentation

◆ AccessMode

Enumerator
LOCAL 
REMOTE 
CUSTOM 
CUSTOM_REMOTE 

Constructor & Destructor Documentation

◆ Entity()

adaptyst::Entity::Entity ( std::string id,
AccessMode access_mode,
unsigned int processing_threads,
fs::path local_config_path,
fs::path tmp_dir )

Member Function Documentation

◆ add_connection()

void adaptyst::Entity::add_connection ( std::string id,
std::string departure_node,
std::string arrival_node )

◆ add_node()

void adaptyst::Entity::add_node ( std::shared_ptr< Node > & node)

◆ close()

void adaptyst::Entity::close ( )

◆ get_all_nodes()

std::vector< std::shared_ptr< Node > > adaptyst::Entity::get_all_nodes ( )

◆ get_cpu_mask()

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

◆ get_directing_node()

std::string adaptyst::Entity::get_directing_node ( )

◆ get_local_config_dir()

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

◆ get_log_types()

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

◆ get_node()

std::shared_ptr< Node > & adaptyst::Entity::get_node ( std::string id)

◆ get_profile_info()

profile_info & adaptyst::Entity::get_profile_info ( )

◆ get_src_code_paths()

std::unordered_set< fs::path > & adaptyst::Entity::get_src_code_paths ( )

◆ get_tmp_dir()

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

◆ get_type()

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

◆ init()

void adaptyst::Entity::init ( )

◆ process()

void adaptyst::Entity::process ( bool save_src_code_paths)

◆ profile_notify()

void adaptyst::Entity::profile_notify ( )

◆ profile_wait()

int adaptyst::Entity::profile_wait ( )

◆ set_directing_node()

void adaptyst::Entity::set_directing_node ( std::string node)

◆ set_entity_dir()

void adaptyst::Entity::set_entity_dir ( fs::path & entity_dir)

◆ set_profile_info()

void adaptyst::Entity::set_profile_info ( profile_info & info)

◆ set_sdfg()

void adaptyst::Entity::set_sdfg ( std::string sdfg)

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