Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make MSG_TASK_CANCELLED deprecated, replace it by MSG_TASK_CANCELED
[simgrid.git] / src / gras / Virtu / rl_emul.c
index 2200384..5ed5a65 100644 (file)
@@ -1,6 +1,7 @@
 /* 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. */
 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;
   }
 }