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
got a number (not a table?) with Task_splay_irecv
[simgrid.git]
/
include
/
gras
/
emul.h
diff --git
a/include/gras/emul.h
b/include/gras/emul.h
index
8a0028d
..
789b622
100644
(file)
--- a/
include/gras/emul.h
+++ b/
include/gras/emul.h
@@
-1,9
+1,8
@@
-/* $Id$ */
-
/* gras/emul.h - public interface to emulation support */
/* (specific parts for SG or RL) */
/* gras/emul.h - public interface to emulation support */
/* (specific parts for SG or RL) */
-
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
+
+/* Copyright (c) 2005, 2006, 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-11,10
+10,9
@@
#ifndef GRAS_COND_H
#define GRAS_COND_H
#ifndef GRAS_COND_H
#define GRAS_COND_H
-#include "xbt/misc.h" /* SG_BEGIN_DECL */
+#include "xbt/misc.h"
/* SG_BEGIN_DECL */
SG_BEGIN_DECL()
SG_BEGIN_DECL()
-
/** @addtogroup GRAS_emul
* @brief Code execution "emulation" and "virtualization".
*
/** @addtogroup GRAS_emul
* @brief Code execution "emulation" and "virtualization".
*
@@
-44,7
+42,6
@@
SG_BEGIN_DECL()
*
* @{
*/
*
* @{
*/
-
/** \brief Returns true only if the program runs on real life */
XBT_PUBLIC(int) gras_if_RL(void);
/** \brief Returns true only if the program runs on real life */
XBT_PUBLIC(int) gras_if_RL(void);
@@
-161,13
+158,13
@@
XBT_PUBLIC(int) gras_bench_once_end(void);
/** \brief Start benchmarking this code block if it has never been benchmarked, ignore it if it was
\hideinitializer */
/** \brief Start benchmarking this code block if it has never been benchmarked, ignore it if it was
\hideinitializer */
-#define GRAS_BENCH_ONCE_RUN_ONCE_BEGIN() if (gras_bench_once_begin(__FILE__, __LINE__)) {
+#define GRAS_BENCH_ONCE_RUN_ONCE_BEGIN() if (gras_bench_once_begin(__FILE__, __LINE__)) {
/** \brief Stop benchmarking this part of the code
\hideinitializer */
#define GRAS_BENCH_ONCE_RUN_ONCE_END() } gras_bench_once_end()
/** \brief Stop benchmarking this part of the code
\hideinitializer */
#define GRAS_BENCH_ONCE_RUN_ONCE_END() } gras_bench_once_end()
+
+XBT_PUBLIC(void) gras_cpu_burn(double flops);
/** @} */
SG_END_DECL()
/** @} */
SG_END_DECL()
-
-#endif /* GRAS_COND_H */
-
+#endif /* GRAS_COND_H */