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
I don't think it does what it should now but at least it looks better and
[simgrid.git]
/
src
/
surf
/
surf.c
diff --git
a/src/surf/surf.c
b/src/surf/surf.c
index
b06113c
..
30bdc88
100644
(file)
--- a/
src/surf/surf.c
+++ b/
src/surf/surf.c
@@
-12,10
+12,6
@@
typedef struct surf_resource_object {
surf_resource_t resource;
} s_surf_resource_object_t, *surf_resource_object_t;
surf_resource_t resource;
} s_surf_resource_object_t, *surf_resource_object_t;
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_global, surf,
- "Logging specific to the SURF global module");
-
-
static double NOW = 0;
xbt_dynar_t resource_list = NULL;
static double NOW = 0;
xbt_dynar_t resource_list = NULL;
@@
-195,7
+191,7
@@
FILE *surf_fopen(const char *name, const char *mode)
return file;
}
return file;
}
-void surf_
finalize
(void)
+void surf_
exit
(void)
{
int i;
surf_resource_t resource = NULL;
{
int i;
surf_resource_t resource = NULL;
@@
-224,6
+220,7
@@
void surf_finalize(void)
free(path_name);
path_name = NULL;
}
free(path_name);
path_name = NULL;
}
+ xbt_exit();
}
double surf_solve(void)
}
double surf_solve(void)