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
updated jedule output of SimDag
[simgrid.git]
/
src
/
instr
/
jedule
/
jedule_sd_binding.c
diff --git
a/src/instr/jedule/jedule_sd_binding.c
b/src/instr/jedule/jedule_sd_binding.c
index
7965abf
..
8ce704b
100644
(file)
--- a/
src/instr/jedule/jedule_sd_binding.c
+++ b/
src/instr/jedule/jedule_sd_binding.c
@@
-125,8
+125,13
@@
void jedule_sd_init() {
void jedule_sd_dump() {
FILE *fh;
void jedule_sd_dump() {
FILE *fh;
+ char fname[1024];
- fh = fopen("simgrid.jed", "w");
+ fname[0] = '\0';
+ strcat(fname, xbt_binary_name);
+ strcat(fname, ".jed\0");
+
+ fh = fopen(fname, "w");
write_jedule_output(fh, jedule, jedule_event_list, NULL);
write_jedule_output(fh, jedule, jedule_event_list, NULL);