RecoSim  1.0
 All Classes Files Functions Variables Enumerations
Public Member Functions | Public Attributes | List of all members
ModuleImplementation Struct Reference

Public Member Functions

 ModuleImplementation (string _name, PEImplementation impl, algorithm_thread_type algo, sc_time wcet, sc_time bcet=SC_ZERO_TIME, double freq=0, double pidle=0, double prun=0)
 
 ModuleImplementation (string _name, PEImplementation impl, algorithm_thread_type algo)
 
string get_name (void)
 
PEImplementation get_implementation_type (void)
 
sc_time get_worst_case_execution_time (void) const
 
sc_time get_best_case_execution_time (void) const
 
double get_frequency (void) const
 
double get_p_idle (void) const
 
double get_p_run (void) const
 
string get_netlist_name (void) const
 
string get_algorithm_name (void) const
 
void activate_implementation (void)
 
void deactivate_implementation (void)
 
bool is_implementation_enabled (void) const
 
void info (ostream &st) const
 
void add_physical_channels (string connection, int n=1)
 
map< string, int > get_physical_channel_map (void)
 
void set_worst_case_execution_time (sc_time t)
 
void set_best_case_execution_time (sc_time t)
 
void set_frequency (double f)
 
void set_p_idle (double e)
 
void set_p_run (double e)
 
void set_netlist_name (string n)
 
void set_algorithm_name (string n)
 
algorithm_thread_type get_algorithm_thread_ptr (void)
 
void set_nb_preemption_points (int n)
 
int get_nb_preemption_points (void)
 
void set_use_context_switch_mode (bool)
 
bool use_context_switch_mode (void)
 

Public Attributes

string name
 
string netlist_name
 
string algorithm_name
 
PEImplementation implementation_type
 
sc_time worst_case_execution_time
 
sc_time best_case_execution_time
 
double energy_consumption
 
bool enable_implementation
 
int nb_preemption_points
 
bool use_context_switch
 
double frequency
 
double p_idle
 
double p_run
 
map< string, int > physical_channels
 
algorithm_thread_type algorithm_thread_ptr
 

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