A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
give a default value at field declaration, not everywhere in subclasses
[simgrid.git]
/
src
/
surf
/
surfxml_parseplatf.c
diff --git
a/src/surf/surfxml_parseplatf.c
b/src/surf/surfxml_parseplatf.c
index
238d328
..
7077f57
100644
(file)
--- a/
src/surf/surfxml_parseplatf.c
+++ b/
src/surf/surfxml_parseplatf.c
@@
-10,11
+10,11
@@
#include "xbt/dict.h"
#include "simgrid/platf.h"
#include "surf/surfxml_parse.h"
#include "xbt/dict.h"
#include "simgrid/platf.h"
#include "surf/surfxml_parse.h"
-#include "surf/surf_private.h"
+#include "s
rc/s
urf/surf_private.h"
#ifdef HAVE_LUA
#ifdef HAVE_LUA
-#include "bindings/lua/simgrid_lua.h"
-#include "bindings/lua/lua_state_cloner.h"
+#include "
src/
bindings/lua/simgrid_lua.h"
+#include "
src/
bindings/lua/lua_state_cloner.h"
#include <lua.h> /* Always include this when calling Lua */
#include <lauxlib.h> /* Always include this when calling Lua */
#include <lua.h> /* Always include this when calling Lua */
#include <lauxlib.h> /* Always include this when calling Lua */
@@
-68,13
+68,6
@@
xbt_dict_t trace_connect_list_link_avail = NULL;
xbt_dict_t trace_connect_list_bandwidth = NULL;
xbt_dict_t trace_connect_list_latency = NULL;
xbt_dict_t trace_connect_list_bandwidth = NULL;
xbt_dict_t trace_connect_list_latency = NULL;
-/* ********************************************* */
-/* TUTORIAL: New TAG */
-/* This function should be in gpu.c */
-/* because sg_platf_gpu_add_cb take a staic fct */
-XBT_PUBLIC(void) gpu_register_callbacks(void){
- sg_platf_gpu_add_cb(NULL);
-}
/* ***************************************** */
static int after_config_done;
/* ***************************************** */
static int after_config_done;
@@
-85,11
+78,7
@@
void parse_after_config() {
/* Register classical callbacks */
storage_register_callbacks();
routing_register_callbacks();
/* Register classical callbacks */
storage_register_callbacks();
routing_register_callbacks();
- gpu_register_callbacks();
- /* ***************************************** */
- /* TUTORIAL: New TAG */
- /* ***************************************** */
after_config_done = 1;
}
}
after_config_done = 1;
}
}