Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use proper timer; allow several timed sections per file (ie, use the 'line' argument...
[simgrid.git] / src / gras / Virtu / rl_chrono.c
1 /*      $Id$     */
2
3 /* rl_chrono.c - code benchmarking for emulation (fake for real life)       */
4
5 /* Copyright (c) 2005 Martin Quinson, Arnaud Legrand. All rights reserved.  */
6
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. */
9
10 #include "xbt/sysdep.h"
11 #include "xbt/dict.h"
12 #include "gras/chrono.h"
13 #include "msg/msg.h"
14 #include "portable.h"
15 #include "gras_modinter.h"
16
17 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(chrono,gras,"Benchmarking used code");
18
19
20 int gras_bench_always_begin(const char *location,int line) {
21   return 0;
22 }
23
24 int gras_bench_always_end(void) {
25   return 0;
26 }
27
28 int gras_bench_once_begin(const char *location,int line) {
29   return 0;
30 }
31
32 int gras_bench_once_end(void) {
33   return 0;
34 }
35
36 void gras_chrono_init(void)  {}
37 void gras_chrono_exit(void)  {}