Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Return what should be so that the emulation support is disabled on RL
[simgrid.git] / src / gras / Virtu / rl_emul.c
index 8ec8fec..922f227 100644 (file)
@@ -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 ***/
 
+void gras_emul_init(void)  {}
+void gras_emul_exit(void)  {}
+
 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) {
-  return 0;
+  return 1;
 }
 
 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) {