1 /* Copyright (c) 2010-2012, 2014. 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"
12 #include "xbt/dynar.h"
15 #include "instr/jedule/jedule_platform.h"
26 xbt_dynar_t resource_subsets;
27 xbt_dynar_t characteristics_list; /* just a list of names (strings) */
28 xbt_dict_t info_hash; /* key/value pairs */
31 typedef struct jed_event s_jed_event_t, *jed_event_t;
33 /************************************************************/
35 void create_jed_event(jed_event_t *event, char *name, double start_time, double end_time, const char *type);
37 void jed_event_free(jed_event_t event);
39 void jed_event_add_resources(jed_event_t event, xbt_dynar_t host_selection);
41 void jed_event_add_characteristic(jed_event_t event, char *characteristic);
43 void jed_event_add_info(jed_event_t event, char *key, char *value);
47 #endif /* JEDULE_EVENTS_H_ */