3 /* rl_chrono.c - code benchmarking for emulation (fake for real life) */
5 /* Copyright (c) 2005 Martin Quinson, Arnaud Legrand. 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 "xbt/sysdep.h"
12 #include "gras/chrono.h"
16 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(chrono,gras,"Benchmarking used code");
19 int gras_bench_always_begin(const char *location, int line)
24 int gras_bench_always_end(void)
29 int gras_bench_once_begin(const char *location, int line)
34 int gras_bench_once_end(void)
39 void gras_chrono_init(void)