Public Member Functions | |
| virtual bool | Scheduler_are_tasks_waiting (void) const =0 |
| Check if there are tasks waiting in the queue. More... | |
| virtual SchedulerRequest & | Scheduler_current_task_waiting ()=0 |
| Get request with the current task in waiting queue. More... | |
| virtual int | Scheduler_get_waiting_queue_size (void)=0 |
| Get waiting queue size. More... | |
| virtual int | Scheduler_position_of_current_element (void)=0 |
| Get position of the current waiting queue element. More... | |
| virtual SchedulerRequest & | Scheduler_get_element (int position)=0 |
| Get a reference to an element in the queue. More... | |
| virtual void | Scheduler_update_queue (void)=0 |
| Update priority queue after changes (e.g. priority change) | |
|
virtual Task_to_schedule_interface * | Scheduler_get_task_to_schedule_ptr (int taskID)=0 |
| Get pointer to the task 'taskID'. | |
| virtual bool | Scheduler_last_task_waiting (void) const =0 |
| Reserved. | |
| virtual void | Scheduler_erase_current_task_waiting ()=0 |
| Reserved. | |
| virtual SchedulerRequest | Scheduler_next_task_waiting ()=0 |
| Reserved. | |
| virtual void | Scheduler_reset_current_position_in_waiting_queue ()=0 |
| Reserved. | |
| virtual vector< RZ * > | Scheduler_get_compatible_rz_vector (int task_id)=0 |
| Get the list of reconfigurable zones that fit task 'task_id'. More... | |
| virtual sc_time | Scheduler_get_task_running_time (int task_id)=0 |
| Get running time of the task since the last idle state. More... | |
| virtual vector< RZ * > | Scheduler_get_all_rz_vector (void)=0 |
| Get the list of all reconfigurable zones used in the architecture. More... | |
| virtual int | Scheduler_get_current_module_ID (RZ *rz)=0 |
| Get ID of task currently instantiated on a reconfigurable zone. More... | |
| virtual bool | Scheduler_is_RZ_blank (RZ *rz)=0 |
| Check if RZ is blank or used by a task. More... | |
| virtual int | Scheduler_get_module_ID (SchedulerRequest &req)=0 |
| Retrieve task ID associated with shceduler request. More... | |
| virtual int | Scheduler_get_application_number (void)=0 |
| Get the number of applications. More... | |
| virtual Application_interface * | Scheduler_get_application_interface (int index)=0 |
| Get the application interface from an index. More... | |
| virtual bool | Scheduler_exist_rz_properties (string inst_name)=0 |
| test if the RZ properties of the instance exists (Processor or Hw RZ) More... | |
| virtual bool | Scheduler_exist_rz_properties (RZ *rz)=0 |
| test if the RZ properties of the instance exists (Processor or Hw RZ) More... | |
| virtual RZ_config & | Scheduler_get_rz_properties (string inst_name)=0 |
| Get the RZ properties of the instance (Processor or Hw RZ) More... | |
| virtual RZ_config & | Scheduler_get_rz_properties (RZ *rz)=0 |
| Get the RZ properties of the RZ (Processor or Hw RZ) More... | |
| virtual Config_fct_point & | Scheduler_get_current_fct_point (RZ *rz)=0 |
| Get the current fct. point of the RZ (Processor or Hw RZ) More... | |
| virtual void | Scheduler_emulate_scheduler_behavior (void)=0 |
| Emulate scheduler behaviour in terms of execution time and energy consumption. | |
| virtual void | Scheduler_set_scheduler_active (int taskid)=0 |
| Set scheduler active for task 'taskid'. More... | |
| virtual bool | Scheduler_has_task_already_requested_mapping (int task_to_map, int request_owner)=0 |
| Check if a task placement has already been demanded by the same predecessor. More... | |
| virtual void | Scheduler_add_finished_precedence (int task_mapped, int precedence)=0 |
| Add a new finished precedence to a task. More... | |
| virtual void | Scheduler_notify_request_owner_module_ready (int owner, int ready)=0 |
| Notify the owner of a request that it has been granted (i.e. the module is instantiated on the FPGA and ready to receive data). More... | |
| virtual void | Scheduler_print_finished_precedence_vector (int task_id)=0 |
| Prints the list of finished predecessors for a task. More... | |
| virtual void | Scheduler_send_update_parameters_to_module (RZ *rz)=0 |
| Send parameters to update algorithms. More... | |
| virtual void | Scheduler_configure_task (RZ *rz, int id, int implID, int requestOwner)=0 |
| Launch task configuration through either HW of SW reconfiguration unit. More... | |
| virtual void | Scheduler_rerun_task (SchedulerRequest &req)=0 |
| Changes a task from MAPPED to RUNNING state. More... | |
| virtual void | Scheduler_set_current_task (RZ *rz, int task_id)=0 |
| Set current task hosted by a reconfigurable zone. More... | |
| virtual Task_state | Scheduler_get_task_state (int task_id)=0 |
| Get task state. More... | |
| virtual Task_state | Scheduler_get_task_state (RZ *rz)=0 |
| Get state of the task instantiated on a reconfigurable zone. More... | |
| virtual bool | Scheduler_set_blank (int hosting_rz_id)=0 |
| Set blank a reconfigurable zone. More... | |
| virtual bool | Scheduler_set_blank (RZ *rz)=0 |
| Set blank a reconfigurable zone. More... | |
| virtual bool | Scheduler_is_task_preempted (int taskid) const =0 |
| Check if task is preempted. More... | |
| virtual double | Scheduler_get_performance_effort (void) const =0 |
| Get scheduler performance effort. More... | |
| virtual double | Scheduler_get_power_effort (void) const =0 |
| Get scheduler power effort. More... | |
| virtual double | Scheduler_get_area_effort (void) const =0 |
| Get scheduler area effort. More... | |
| virtual const char * | Scheduler_get_name (void) const =0 |
| Get scheduler instance name. More... | |
| virtual ostream & | Scheduler_get_output_stream (void)=0 |
| Get output stream. More... | |
| virtual void | Scheduler_display_task_state_table (void) const =0 |
| Display task state table on the standard output. | |
| virtual void | Scheduler_display_rz_current_module_table (void) const =0 |
| Displays RZ occupation on the standard output. | |
| virtual void | Scheduler_display_waiting_queue (void) const =0 |
| Display waiting queue. | |
|
pure virtual |
Add a new finished precedence to a task.
| task_mapped | ID of the task already mapped on the FPGA that has a new finished predecessor |
| precedence | ID of the preceding task |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Check if there are tasks waiting in the queue.
Implemented in Reconfiguration_manager.
|
pure virtual |
Launch task configuration through either HW of SW reconfiguration unit.
| rz | Reconfigurable zone (processing element) on which task is configured |
| id | ID of the module needing reconfiguration |
| implID | TaskImplementation ID to replace previous one |
| requestOwner | ID of the module that requested this configuration |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get request with the current task in waiting queue.
brief Get request with the highest priority inside waiting queue return Top request
Implemented in Reconfiguration_manager.
|
pure virtual |
test if the RZ properties of the instance exists (Processor or Hw RZ)
| inst_name | Instance of the processor or default RZ ("RZDefaultGroupName") |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
test if the RZ properties of the instance exists (Processor or Hw RZ)
| rz | Pointer to the RZ |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get the list of all reconfigurable zones used in the architecture.
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get the application interface from an index.
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get the number of applications.
Implemented in Reconfiguration_manager_base.
|
pure virtual |
|
pure virtual |
Get the list of reconfigurable zones that fit task 'task_id'.
| task_id | Task identifier |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get the current fct. point of the RZ (Processor or Hw RZ)
| rz | Pointer to the RZ |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get ID of task currently instantiated on a reconfigurable zone.
| rz | Pointer to the reconfigurable zone |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get a reference to an element in the queue.
| position | Position of the element to retrieve from the queue |
Implemented in Reconfiguration_manager.
|
pure virtual |
Retrieve task ID associated with shceduler request.
| req | Reference to the SchedulerRequest |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get scheduler instance name.
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get output stream.
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get scheduler performance effort.
Implemented in Reconfiguration_manager_base.
|
pure virtual |
|
pure virtual |
Get the RZ properties of the instance (Processor or Hw RZ)
| inst_name | Instance of the processor or default RZ ("RZDefaultGroupName") |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get running time of the task since the last idle state.
| task_id | Task identifier |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get task state.
| task_id | ID of the task to consider |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get state of the task instantiated on a reconfigurable zone.
| rz | Pointer to the RZ to consider |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get waiting queue size.
brief Remove highest priority request from the queue
Implemented in Reconfiguration_manager.
|
pure virtual |
Check if a task placement has already been demanded by the same predecessor.
| task_to_map | ID of the task which mapping is requested |
| request_owner | ID of the task requiring mapping of the task |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Check if RZ is blank or used by a task.
| rz | Pointer to the reconfigurable zone |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Check if task is preempted.
| taskid | Task to check for preemption |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Notify the owner of a request that it has been granted (i.e. the module is instantiated on the FPGA and ready to receive data).
| owner | Request owner ID |
| ready | Ready module ID |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Get position of the current waiting queue element.
Implemented in Reconfiguration_manager.
|
pure virtual |
Prints the list of finished predecessors for a task.
| task_id | ID of the task to consider |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Changes a task from MAPPED to RUNNING state.
| Reference | to the scheduler request issuing this state change |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Send parameters to update algorithms.
| rz | Pointer to the RZ will be sent to algorithm |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Set blank a reconfigurable zone.
| RZ | id to consider |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Set blank a reconfigurable zone.
| rz | Pointer to the RZ to consider |
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Set current task hosted by a reconfigurable zone.
Implemented in Reconfiguration_manager_base.
|
pure virtual |
Set scheduler active for task 'taskid'.
| taskid | ID of the task being processed |
Implemented in Reconfiguration_manager_base.
1.8.7