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
Define the right type for xbt_os_thread_key_t
[simgrid.git]
/
src
/
gras
/
Virtu
/
rl_emul.c
diff --git
a/src/gras/Virtu/rl_emul.c
b/src/gras/Virtu/rl_emul.c
index 643662118dd274845887386a9e37ddf896a51343..5ed5a6515d1e1eed8b1477113348fae2276d5a86 100644
(file)
--- a/
src/gras/Virtu/rl_emul.c
+++ b/
src/gras/Virtu/rl_emul.c
@@
-1,8
+1,7
@@
-/* $Id$ */
-
/* rl_emul - Emulation support (real life) */
/* rl_emul - Emulation support (real life) */
-/* Copyright (c) 2003-5 Arnaud Legrand, Martin Quinson. All rights reserved.*/
+/* Copyright (c) 2005, 2006, 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. */
@@
-14,9
+13,10
@@
XBT_LOG_NEW_SUBCATEGORY(gras_virtu_emul, gras_virtu, "Emulation support");
/*** CPU burning */
XBT_LOG_NEW_SUBCATEGORY(gras_virtu_emul, gras_virtu, "Emulation support");
/*** CPU burning */
-void gras_cpu_burn(double flops) {
- while (flops>0) {
- flops-=2;
+void gras_cpu_burn(double flops)
+{
+ while (flops > 0) {
+ flops -= 2;
}
}
}
}