3 /* rl_emul - Emulation support (real life) */
5 /* Copyright (c) 2003-5 Arnaud Legrand, Martin Quinson. All rights reserved.*/
7 /* This program is free software; you can redistribute it and/or modify it
8 * under the terms of the license (GNU LGPL) which comes with this package. */
10 #include "gras/emul.h"
11 #include "gras/Virtu/virtu_rl.h"
12 #include "gras_modinter.h"
14 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(emul,gras,"Emulation support");
16 /*** Timing macros: nothing to do in RL. Actually do the job and shutup ***/
18 int gras_bench_always_begin(const char *location,int line) {
22 int gras_bench_always_end(void) {
26 int gras_bench_once_begin(const char *location,int line) {
30 int gras_bench_once_end(void) {
34 void gras_chrono_init(void) {}
35 void gras_chrono_exit(void) {}
37 /*** Conditional execution support ***/
39 int gras_if_RL(void) {
43 int gras_if_SG(void) {