My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
runtime_messages.h
Go to the documentation of this file.
1 /*
2 START OF LICENSE STUB
3  DeDOS: Declarative Dispersion-Oriented Software
4  Copyright (C) 2017 University of Pennsylvania, Georgetown University
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 END OF LICENSE STUB
19 */
20 #ifndef RUNTIME_MESSAGES_H_
21 #define RUNTIME_MESSAGES_H_
22 
23 #include "dfg.h"
24 
25 int send_create_msu_msg(struct dfg_msu *msu);
26 
27 int send_delete_msu_msg(struct dfg_msu *msu);
28 
31 int send_add_route_to_msu_msg(struct dfg_route *route, struct dfg_msu *msu);
32 int send_add_endpoint_msg(struct dfg_route *route, struct dfg_route_endpoint *endpoint);
33 int send_del_endpoint_msg(struct dfg_route *route, struct dfg_route_endpoint *endpoint);
34 int send_mod_endpoint_msg(struct dfg_route *route, struct dfg_route_endpoint *endpoint);
35 int send_create_thread_msg(struct dfg_thread *thread, struct dfg_runtime *rt);
36 
37 int send_report_msus_msg(struct dfg_runtime *rt);
38 
39 #endif
40 
int send_mod_endpoint_msg(struct dfg_route *route, struct dfg_route_endpoint *endpoint)
static int route(struct msu_type *type, struct local_msu *sender, struct msu_msg *msg, struct msu_endpoint *output)
Definition: baremetal_msu.c:30
int send_del_endpoint_msg(struct dfg_route *route, struct dfg_route_endpoint *endpoint)
Representation of a runtime in the DFG.
Definition: dfg.h:73
int send_create_route_msg(struct dfg_route *route)
int send_report_msus_msg(struct dfg_runtime *rt)
Representation of a single MSU in the dfg.
Definition: dfg.h:216
int send_delete_route_msg(struct dfg_route *route)
int send_create_thread_msg(struct dfg_thread *thread, struct dfg_runtime *rt)
A route through which MSU messages can be passed.
Definition: dfg.h:152
Interfaces for the creation and modification of the data-flow-graph and and general description of th...
A single endpoint for an MSU route.
Definition: dfg.h:139
int send_delete_msu_msg(struct dfg_msu *msu)
Representation of a thread on a runtime in the DFG.
Definition: dfg.h:104
int send_add_endpoint_msg(struct dfg_route *route, struct dfg_route_endpoint *endpoint)
int send_create_msu_msg(struct dfg_msu *msu)
int send_add_route_to_msu_msg(struct dfg_route *route, struct dfg_msu *msu)