1 /* Copyright (c) 2010-2012, 2014-2015. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
7 #ifndef JEDULE_EVENTS_H_
8 #define JEDULE_EVENTS_H_
10 #include "simgrid_config.h"
11 #include "xbt/dynar.h"
13 #include "simgrid/jedule/jedule_platform.h"
24 xbt_dynar_t resource_subsets;
25 xbt_dynar_t characteristics_list; /* just a list of names (strings) */
26 xbt_dict_t info_hash; /* key/value pairs */
29 typedef struct jed_event s_jed_event_t, *jed_event_t;
31 void create_jed_event(jed_event_t *event, char *name, double start_time, double end_time, const char *type);
32 void jed_event_free(jed_event_t event);
33 void jed_event_add_resources(jed_event_t event, xbt_dynar_t host_selection);
34 void jed_event_add_characteristic(jed_event_t event, char *characteristic);
35 void jed_event_add_info(jed_event_t event, char *key, char *value);
40 #endif /* JEDULE_EVENTS_H_ */