HeMPS  8.0
reclustering.h
Go to the documentation of this file.
1 
16 #ifndef SOFTWARE_INCLUDE_RECLUSTERING_RECLUSTERING_H_
17 #define SOFTWARE_INCLUDE_RECLUSTERING_RECLUSTERING_H_
18 
19 #include "../../include/kernel_pkg.h"
20 #include "applications.h"
21 #include "packet.h"
22 
23 typedef struct {
24  Task * task;
25  int active;
31 } Reclustering;
32 
33 extern unsigned int clusterID;
34 
35 
36 inline int is_reclustering_NOT_active();
37 
38 void reclustering_setup(int);
39 
41 
43 
44 
45 #endif /* SOFTWARE_INCLUDE_RECLUSTERING_RECLUSTERING_H_ */
unsigned int clusterID
Cluster ID index of array cluster_info - clusterID is the only extern global variable in in all softw...
Definition: reclustering.c:33
int active
Reclustering status (active 1, or disabled 0)
Definition: reclustering.h:25
void reclustering_setup(int)
Definition: reclustering.c:40
int is_reclustering_NOT_active()
Definition: reclustering.c:64
int min_loan_proc_hops
Minimum number of hops from borrowed processor.
Definition: reclustering.h:27
int neighbors_level
Number of neighbors levels (clusters levels) used in the reclustering protocol.
Definition: reclustering.h:30
This structure store variables useful to the kernel master manage an application instance.
Definition: applications.h:67
int current_borrowed_master
Borrowed processor master address.
Definition: reclustering.h:29
int reclustering_next_task(Application *)
Definition: reclustering.c:343
int current_borrowed_proc
Borrowed processor address.
Definition: reclustering.h:28
This structure is in charge to defines the ServiceHeader field that can be filled by the software par...
Definition: packet.h:26
int pending_loan_delivery
Number of pending load delivery which the master is waiting.
Definition: reclustering.h:26
Task * task
Task pointer of the task under reclustering.
Definition: reclustering.h:24
Definition: reclustering.h:23
This module defines the ServiceHeader structure. This structure is used by all software components to...
Defines structures Application, Task, and Dependence.
void handle_reclustering(ServiceHeader *)
Definition: reclustering.c:210
This structure stores variables useful to manage a task from a manager kernel perspective Some of th...
Definition: applications.h:51