|
HeMPS
8.0
|
This module defines function relative to task location structure. The TaskLocation structure is defined, this structure stores the location (slave process address) of the other task. More...
#include "../../include/kernel_pkg.h"

Go to the source code of this file.
Classes | |
| struct | TaskLocaion |
| This structure stores the location (slave process address) of the other task. More... | |
Macros | |
| #define | MAX_TASK_LOCATION (MAX_LOCAL_TASKS*MAX_TASKS_APP) |
Functions | |
| void | init_task_location () |
| int | get_task_location (int) |
| void | add_task_location (int, int) |
| int | remove_task_location (int) |
| void | clear_app_tasks_locations (int) |
This module defines function relative to task location structure. The TaskLocation structure is defined, this structure stores the location (slave process address) of the other task.
HEMPS VERSION - 8.0 - support for RT applications
Distribution: June 2016
Created by: Marcelo Ruaro - contact: marcelo.ruaro@acad.pucrs.br
Research group: GAPH-PUCRS - contact: fernando.moraes@pucrs.br
| void add_task_location | ( | int | task_ID, |
| int | proc | ||
| ) |
Add a task_locaiton instance
| task_ID | Task ID |
| proc | Location (address) of the task |
| void clear_app_tasks_locations | ( | int | app_ID | ) |
Clear/remove all task of the same application
| app_ID | Application ID |
| int get_task_location | ( | int | task_ID | ) |
Searches for a task location by walking for all processors within processors' array
| task_id | Task ID |
Searches for the location of a given task
| task_ID | The ID of the task |
| void init_task_location | ( | ) |
Initializes task_location array with invalid values
| int remove_task_location | ( | int | task_id | ) |
Remove a task_locaton instance
| task_id | Task ID of the instance to be removed |
1.8.11