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
Return what should be so that the emulation support is disabled on RL
[simgrid.git]
/
src
/
gras
/
Virtu
/
rl_emul.c
diff --git
a/src/gras/Virtu/rl_emul.c
b/src/gras/Virtu/rl_emul.c
index
8ec8fec
..
922f227
100644
(file)
--- a/
src/gras/Virtu/rl_emul.c
+++ b/
src/gras/Virtu/rl_emul.c
@@
-15,6
+15,9
@@
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(emul,gras,"Emulation support");
/*** Timing macros: nothing to do in RL. Actually do the job and shutup ***/
/*** Timing macros: nothing to do in RL. Actually do the job and shutup ***/
+void gras_emul_init(void) {}
+void gras_emul_exit(void) {}
+
int gras_bench_always_begin(const char *location,int line) {
return 0;
}
int gras_bench_always_begin(const char *location,int line) {
return 0;
}
@@
-24,16
+27,13
@@
int gras_bench_always_end(void) {
}
int gras_bench_once_begin(const char *location,int line) {
}
int gras_bench_once_begin(const char *location,int line) {
- return
0
;
+ return
1
;
}
int gras_bench_once_end(void) {
return 0;
}
}
int gras_bench_once_end(void) {
return 0;
}
-void gras_chrono_init(void) {}
-void gras_chrono_exit(void) {}
-
/*** Conditional execution support ***/
int gras_if_RL(void) {
/*** Conditional execution support ***/
int gras_if_RL(void) {