4 * Created on: Nov 30, 2010
8 #ifndef JEDULE_EVENTS_H_
9 #define JEDULE_EVENTS_H_
11 #include "jedule_platform.h"
13 #include "xbt/dynar.h"
22 xbt_dynar_t resource_subsets;
23 xbt_dynar_t characteristics_list; /* just a list of names (strings) */
24 xbt_dict_t info_hash; /* key/value pairs */
27 typedef struct jed_event s_jed_event_t, *jed_event_t;
29 /************************************************************/
31 void create_jed_event(jed_event_t *event, char *name, double start_time, double end_time, char *type);
33 void jed_event_free(jed_event_t event);
35 void jed_event_add_resources(jed_event_t event, xbt_dynar_t host_selection);
37 void jed_event_add_characteristic(jed_event_t event, char *characteristic);
39 void jed_event_add_info(jed_event_t event, char *key, char *value);
41 #endif /* JEDULE_EVENTS_H_ */