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
Use new style logging macros.
[simgrid.git]
/
src
/
gras
/
Virtu
/
sg_emul.c
diff --git
a/src/gras/Virtu/sg_emul.c
b/src/gras/Virtu/sg_emul.c
index 4729c35d60808fb0d328fbc3497311dd86915b1d..e6dcfaa44558215a64199baddb1ed39ab8f2bb9c 100644
(file)
--- a/
src/gras/Virtu/sg_emul.c
+++ b/
src/gras/Virtu/sg_emul.c
@@
-110,7
+110,7
@@
int gras_bench_once_begin(const char *location, int line)
ir = xbt_dict_get_or_null(benchmark_set, locbuf);
if (!ir) {
ir = xbt_dict_get_or_null(benchmark_set, locbuf);
if (!ir) {
-
DEBUG1
("%s", locbuf);
+
XBT_DEBUG
("%s", locbuf);
duration = 1;
xbt_os_timer_start(timer);
return 1;
duration = 1;
xbt_os_timer_start(timer);
return 1;
@@
-131,7
+131,7
@@
int gras_bench_once_end(void)
} else {
duration = get_from_dict(benchmark_set, locbuf);
}
} else {
duration = get_from_dict(benchmark_set, locbuf);
}
-
DEBUG2
("Simulate the run of a task of %f sec for %s", duration, locbuf);
+
XBT_DEBUG
("Simulate the run of a task of %f sec for %s", duration, locbuf);
gras_cpu_burn(duration / reference);
return 0;
}
gras_cpu_burn(duration / reference);
return 0;
}