Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sort include lists according to clang-format.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 10 Oct 2017 09:48:21 +0000 (11:48 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 10 Oct 2017 11:29:22 +0000 (13:29 +0200)
72 files changed:
src/bindings/java/jmsg.cpp
src/bindings/java/jmsg_as.cpp
src/bindings/java/jmsg_as.hpp
src/bindings/java/jmsg_comm.cpp
src/bindings/java/jmsg_host.cpp
src/bindings/java/jmsg_process.cpp
src/bindings/java/jmsg_task.cpp
src/bindings/java/jxbt_utilities.cpp
src/bindings/java/jxbt_utilities.hpp
src/include/surf/maxmin.hpp
src/instr/instr_paje_header.cpp
src/instr/instr_paje_trace.cpp
src/instr/instr_private.hpp
src/kernel/context/ContextBoost.cpp
src/kernel/context/ContextRaw.cpp
src/kernel/context/ContextThread.cpp
src/mc/DwarfExpression.cpp
src/mc/PageStore.hpp
src/mc/Session.cpp
src/mc/checker/Checker.hpp
src/mc/checker/LivenessChecker.hpp
src/mc/compare.cpp
src/mc/mc_config.cpp
src/mc/mc_dwarf.cpp
src/mc/mc_hash.cpp
src/mc/mc_member.cpp
src/mc/mc_mmu.hpp
src/mc/mc_record.cpp
src/mc/mc_smx.cpp
src/mc/mc_snapshot.cpp
src/mc/mc_snapshot.hpp
src/mc/mc_state.hpp
src/mc/mc_unw.hpp
src/s4u/s4u_comm.cpp
src/simgrid/sg_config.cpp
src/simix/popping_private.hpp
src/simix/smx_context.cpp
src/simix/smx_environment.cpp
src/simix/smx_global.cpp
src/simix/smx_host_private.hpp
src/simix/smx_io.cpp
src/simix/smx_io_private.hpp
src/smpi/bindings/smpi_f77_coll.cpp
src/smpi/bindings/smpi_pmpi_coll.cpp
src/smpi/bindings/smpi_pmpi_group.cpp
src/smpi/bindings/smpi_pmpi_request.cpp
src/smpi/bindings/smpi_pmpi_win.cpp
src/smpi/colls/barrier/barrier-mvapich2-pair.cpp
src/smpi/colls/barrier/barrier-ompi.cpp
src/smpi/colls/bcast/bcast-ompi-pipeline.cpp
src/smpi/colls/bcast/bcast-ompi-split-bintree.cpp
src/smpi/colls/coll_tuned_topo.cpp
src/smpi/colls/colls_private.hpp
src/smpi/colls/gather/gather-ompi.cpp
src/smpi/colls/reduce/reduce-ompi.cpp
src/smpi/colls/reduce_scatter/reduce_scatter-ompi.cpp
src/smpi/colls/scatter/scatter-ompi.cpp
src/smpi/colls/smpi_coll.cpp
src/smpi/include/smpi_coll.hpp
src/smpi/include/smpi_process.hpp
src/smpi/include/smpi_win.hpp
src/smpi/internals/smpi_deployment.cpp
src/smpi/internals/smpi_global.cpp
src/smpi/internals/smpi_process.cpp
src/smpi/internals/smpi_static_variables.cpp
src/smpi/mpi/smpi_f2c.cpp
src/smpi/mpi/smpi_status.cpp
src/smpi/mpi/smpi_win.cpp
src/surf/cpu_interface.cpp
src/surf/maxmin_private.hpp
src/surf/network_ns3.cpp
src/surf/surf_private.hpp

index 971a496..6119a64 100644 (file)
 
 #include "src/simix/smx_private.hpp"
 
-#include "jmsg_process.h"
+#include "jmsg.hpp"
 #include "jmsg_as.hpp"
 #include "jmsg_host.h"
+#include "jmsg_process.h"
 #include "jmsg_storage.h"
 #include "jmsg_task.h"
 #include "jxbt_utilities.hpp"
-#include "jmsg.hpp"
 
 #include "JavaContext.hpp"
 
index 3b5109b..d06d1d4 100644 (file)
@@ -9,10 +9,10 @@
 #include "simgrid/s4u/NetZone.hpp"
 #include "src/kernel/routing/NetZoneImpl.hpp"
 
+#include "jmsg.hpp"
 #include "jmsg_as.hpp"
 #include "jmsg_host.h"
 #include "jxbt_utilities.hpp"
-#include "jmsg.hpp"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(java);
 
index f79ef9b..ffe15a7 100644 (file)
@@ -7,8 +7,8 @@
 
 #ifndef JMSG_AS_HPP
 #define JMSG_AS_HPP
-#include <jni.h>
 #include "simgrid/msg.h"
+#include <jni.h>
 
 extern "C" {
 
index f58666a..d3e4127 100644 (file)
@@ -6,8 +6,8 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "jmsg_comm.h"
-#include "jxbt_utilities.hpp"
 #include "jmsg.hpp"
+#include "jxbt_utilities.hpp"
 
 #include <simgrid/msg.h>
 #include <string>
index 98b7f09..f51c91d 100644 (file)
@@ -11,8 +11,8 @@
 
 #include "jmsg.hpp"
 #include "jmsg_host.h"
-#include "jxbt_utilities.hpp"
 #include "jmsg_storage.h"
+#include "jxbt_utilities.hpp"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(java);
 
index 330a89b..ad3f399 100644 (file)
@@ -9,10 +9,10 @@
 
 #include "jmsg_process.h"
 
+#include "JavaContext.hpp"
 #include "jmsg.hpp"
 #include "jmsg_host.h"
 #include "jxbt_utilities.hpp"
-#include "JavaContext.hpp"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(java);
 
index 77a54f0..7a473f6 100644 (file)
@@ -9,8 +9,8 @@
 
 #include "jmsg.hpp"
 #include "jmsg_host.h"
-#include "jmsg_task.h"
 #include "jmsg_process.h"
+#include "jmsg_task.h"
 #include "jxbt_utilities.hpp"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(java);
index 5a285b3..1853d1b 100644 (file)
@@ -5,8 +5,8 @@
 /* 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. */
 
-#include "xbt/sysdep.h"
 #include "jxbt_utilities.hpp"
+#include "xbt/sysdep.h"
 
 #include <cstdlib> /* abort */
 
index 09988eb..1026f96 100644 (file)
@@ -8,8 +8,8 @@
 #ifndef JXBT_UTILITIES_HPP
 #define JXBT_UTILITIES_HPP
 
-#include <jni.h>
 #include <cstdint>
+#include <jni.h>
 #include <string>
 
 extern "C" {
index 95b0ebc..31c5d19 100644 (file)
@@ -7,9 +7,9 @@
 #define SURF_MAXMIN_HPP
 
 #include "src/internal_config.h"
-#include "xbt/misc.h"
-#include "xbt/asserts.h"
 #include "surf/datatypes.h"
+#include "xbt/asserts.h"
+#include "xbt/misc.h"
 #include <cmath>
 
 namespace simgrid {
index 5a85e12..f7e04f5 100644 (file)
@@ -4,8 +4,8 @@
 /* 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. */
 
-#include "src/instr/instr_private.hpp"
 #include "simgrid/sg_config.h"
+#include "src/instr/instr_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_paje_header, instr, "Paje tracing event system (header)");
 
index e682596..23ed224 100644 (file)
@@ -4,12 +4,12 @@
 /* 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. */
 
+#include "simgrid/sg_config.h"
 #include "src/instr/instr_private.hpp"
 #include "src/instr/instr_smpi.hpp"
 #include "src/smpi/include/private.hpp"
 #include "typeinfo"
 #include "xbt/virtu.h" /* sg_cmdline */
-#include "simgrid/sg_config.h"
 
 #include <sstream>
 #include <vector>
index 50a189a..05a6631 100644 (file)
@@ -24,8 +24,8 @@
 
 #define INSTR_DEFAULT_STR_SIZE 500
 
-#include "xbt/graph.h"
 #include "xbt/dict.h"
+#include "xbt/graph.h"
 
 namespace simgrid {
 namespace instr {
index 03c81c5..3e18362 100644 (file)
@@ -14,9 +14,9 @@
 #include <xbt/log.h>
 #include <xbt/xbt_os_thread.h>
 
-#include "src/simix/smx_private.hpp"
 #include "src/internal_config.h"
 #include "src/kernel/context/ContextBoost.hpp"
+#include "src/simix/smx_private.hpp"
 
 #if HAVE_SANITIZE_ADDRESS_FIBER_SUPPORT
 #include <sanitizer/asan_interface.h>
index 17f77d5..1df1de7 100644 (file)
@@ -7,8 +7,8 @@
 
 #include "xbt/parmap.hpp"
 
-#include "src/simix/smx_private.hpp"
 #include "mc/mc.h"
+#include "src/simix/smx_private.hpp"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
 
index 2cbeeaf..ebcdfbe 100644 (file)
@@ -6,12 +6,12 @@
 #include <utility>
 #include <functional>
 
-#include "xbt/function_types.h"
+#include "src/internal_config.h" /* loads context system definitions */
 #include "src/simix/smx_private.hpp"
-#include "src/internal_config.h"           /* loads context system definitions */
+#include "src/xbt_modinter.h" /* prototype of os thread module's init/exit in XBT */
+#include "xbt/function_types.h"
 #include "xbt/swag.h"
 #include "xbt/xbt_os_thread.h"
-#include "src/xbt_modinter.h"       /* prototype of os thread module's init/exit in XBT */
 
 #include "src/kernel/context/ContextThread.hpp"
 
index 81f2cbc..bfa4f16 100644 (file)
@@ -9,14 +9,15 @@
 
 #include <dwarf.h>
 #include <elfutils/libdw.h>
+#include <libunwind.h>
 
-#include "src/mc/mc_private.hpp"
-#include "src/mc/LocationList.hpp"
 #include "src/mc/AddressSpace.hpp"
+#include "src/mc/DwarfExpression.hpp"
 #include "src/mc/Frame.hpp"
+#include "src/mc/LocationList.hpp"
 #include "src/mc/ObjectInformation.hpp"
-#include "src/mc/DwarfExpression.hpp"
 #include "src/mc/mc_dwarf.hpp"
+#include "src/mc/mc_private.hpp"
 
 using simgrid::mc::remote;
 
index d0c3432..4ae359f 100644 (file)
@@ -15,8 +15,8 @@
 
 #include "xbt/base.h"
 
-#include "src/mc/mc_mmu.hpp"
 #include "src/mc/mc_forward.hpp"
+#include "src/mc/mc_mmu.hpp"
 
 namespace simgrid {
 namespace mc {
index d1c00c0..b88f98d 100644 (file)
@@ -16,9 +16,9 @@
 #include <simgrid/sg_config.h>
 
 #include "src/mc/Session.hpp"
-#include "src/mc/mc_state.hpp"
-#include "src/mc/mc_private.hpp"
 #include "src/mc/checker/Checker.hpp"
+#include "src/mc/mc_private.hpp"
+#include "src/mc/mc_state.hpp"
 
 #include "src/smpi/include/private.hpp"
 
index 3e0cec8..4de42ae 100644 (file)
@@ -11,9 +11,9 @@
 #include <memory>
 #include <string>
 
+#include "src/mc/Session.hpp"
 #include "src/mc/mc_forward.hpp"
 #include "src/mc/mc_record.hpp"
-#include "src/mc/Session.hpp"
 
 namespace simgrid {
 namespace mc {
index a6c6f42..160b77c 100644 (file)
 #include <memory>
 #include <vector>
 
+#include "src/mc/checker/Checker.hpp"
+#include "src/mc/mc_state.hpp"
 #include <simgrid_config.h>
-#include <xbt/base.h>
 #include <xbt/automaton.h>
-#include "src/mc/mc_state.hpp"
-#include "src/mc/checker/Checker.hpp"
+#include <xbt/base.h>
 
 namespace simgrid {
 namespace mc {
index 15d99f3..6516f89 100644 (file)
 #include "src/smpi/include/private.hpp"
 #endif
 
-#include "src/mc/mc_forward.hpp"
-#include "src/mc/mc_private.hpp"
-#include "src/mc/mc_smx.hpp"
-#include "src/mc/mc_dwarf.hpp"
 #include "src/mc/Frame.hpp"
 #include "src/mc/ObjectInformation.hpp"
+#include "src/mc/Type.hpp"
 #include "src/mc/Variable.hpp"
+#include "src/mc/mc_dwarf.hpp"
+#include "src/mc/mc_forward.hpp"
 #include "src/mc/mc_private.hpp"
+#include "src/mc/mc_smx.hpp"
 #include "src/mc/mc_snapshot.hpp"
-#include "src/mc/mc_dwarf.hpp"
-#include "src/mc/Type.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_compare, xbt, "Logging specific to mc_compare in mc");
 
index d62c068..566544c 100644 (file)
@@ -14,8 +14,8 @@
 #include <simgrid/sg_config.h>
 
 #if SIMGRID_HAVE_MC
-#include "src/mc/mc_safety.hpp"
 #include "src/mc/mc_private.hpp"
+#include "src/mc/mc_safety.hpp"
 #endif
 
 #include "src/mc/mc_record.hpp"
index 5330a6b..3a21afc 100644 (file)
@@ -25,8 +25,8 @@
 #include "xbt/sysdep.h"
 #include <simgrid_config.h>
 
-#include "src/mc/mc_private.hpp"
 #include "src/mc/mc_dwarf.hpp"
+#include "src/mc/mc_private.hpp"
 
 #include "src/mc/ObjectInformation.hpp"
 #include "src/mc/Variable.hpp"
index 082e877..9a77423 100644 (file)
 
 #include "xbt/log.h"
 
-#include "src/mc/mc_private.hpp"
-#include "src/mc/mc_snapshot.hpp"
 #include "mc/datatypes.h"
 #include "src/mc/mc_hash.hpp"
+#include "src/mc/mc_private.hpp"
+#include "src/mc/mc_snapshot.hpp"
 #include <mc/mc.h>
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_hash, mc, "Logging specific to mc_hash");
index a8bec1f..c2c67e7 100644 (file)
@@ -4,9 +4,9 @@
 /* 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. */
 
-#include "src/mc/mc_private.hpp"
 #include "src/mc/Type.hpp"
 #include "src/mc/mc_dwarf.hpp"
+#include "src/mc/mc_private.hpp"
 
 namespace simgrid {
 namespace dwarf {
index a6de7ac..d406e89 100644 (file)
@@ -7,6 +7,8 @@
 #define SIMGRID_MC_MMU_HPP
 
 #include "xbt/misc.h" // xbt_pagesize...
+#include <cstdint>
+#include <utility>
 
 namespace simgrid {
 namespace mc {
index e61504e..5939b84 100644 (file)
 #include "simgrid/simix.h"
 
 #include "src/kernel/context/Context.hpp"
+#include "src/mc/mc_record.hpp"
+#include "src/mc/mc_replay.h"
 #include "src/simix/ActorImpl.hpp"
 #include "src/simix/smx_private.hpp"
-#include "src/mc/mc_replay.h"
-#include "src/mc/mc_record.hpp"
 
 #include "src/mc/mc_base.h"
 #include "src/mc/Transition.hpp"
 
 #if SIMGRID_HAVE_MC
-#include "src/mc/mc_request.hpp"
+#include "src/mc/checker/Checker.hpp"
 #include "src/mc/mc_private.hpp"
-#include "src/mc/mc_state.hpp"
+#include "src/mc/mc_request.hpp"
 #include "src/mc/mc_smx.hpp"
-#include "src/mc/checker/Checker.hpp"
+#include "src/mc/mc_state.hpp"
 #endif
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_record, mc,
index 044939c..4711074 100644 (file)
@@ -5,8 +5,8 @@
 
 #include "simgrid/s4u/Host.hpp"
 
-#include "src/mc/mc_smx.hpp"
 #include "src/mc/ModelChecker.hpp"
+#include "src/mc/mc_smx.hpp"
 
 using simgrid::mc::remote;
 
index 1b3504e..ce1c2a8 100644 (file)
 #include "src/internal_config.h"
 #include "src/smpi/include/private.hpp"
 
-#include "src/mc/mc_snapshot.hpp"
-#include "src/mc/mc_private.hpp"
-#include "src/mc/mc_mmu.hpp"
 #include "src/mc/PageStore.hpp"
+#include "src/mc/mc_mmu.hpp"
+#include "src/mc/mc_private.hpp"
+#include "src/mc/mc_snapshot.hpp"
 
 extern "C" {
 
@@ -201,9 +201,9 @@ const void* Snapshot::read_bytes(void* buffer, std::size_t size,
 
 #include <sys/mman.h>
 
+#include "src/mc/mc_mmu.hpp"
 #include "src/mc/mc_private.hpp"
 #include "src/mc/mc_snapshot.hpp"
-#include "src/mc/mc_mmu.hpp"
 
 XBT_TEST_SUITE("mc_snapshot", "Snapshots");
 
index eab2acf..a1d4049 100644 (file)
@@ -6,10 +6,10 @@
 #ifndef SIMGRID_MC_SNAPSHOT_HPP
 #define SIMGRID_MC_SNAPSHOT_HPP
 
-#include <vector>
+#include <memory>
 #include <set>
 #include <string>
-#include <memory>
+#include <vector>
 
 #include "src/mc/ModelChecker.hpp"
 #include "src/mc/RegionSnapshot.hpp"
index e9b0d7b..8fe92e3 100644 (file)
@@ -9,9 +9,9 @@
 #include <list>
 #include <memory>
 
-#include "src/mc/mc_snapshot.hpp"
-#include "src/mc/mc_record.hpp"
 #include "src/mc/Transition.hpp"
+#include "src/mc/mc_record.hpp"
+#include "src/mc/mc_snapshot.hpp"
 
 namespace simgrid {
 namespace mc {
index 3a62c53..e5e066d 100644 (file)
@@ -28,8 +28,8 @@
 #include "src/mc/mc_forward.hpp"
 #include "xbt/base.h"
 
-#include <libunwind.h>
 #include <cstdio>
+#include <libunwind.h>
 #include <sys/types.h>
 
 namespace simgrid {
index bcd60c3..f1f3135 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#include "xbt/log.h"
 #include "src/msg/msg_private.hpp"
+#include "xbt/log.h"
 
 #include "simgrid/s4u/Comm.hpp"
 #include "simgrid/s4u/Mailbox.hpp"
index ee90057..752cf85 100644 (file)
@@ -6,22 +6,22 @@
 
 /* sg_config: configuration infrastructure for the simulation world       */
 
-#include "xbt/misc.h"
-#include "xbt/config.h"
-#include "xbt/config.hpp"
-#include "xbt/log.h"
-#include "xbt/mallocator.h"
-#include "xbt/sysdep.h"
-#include "surf/surf.h"
-#include "surf/maxmin.hpp"
-#include "instr/instr_interface.h"
-#include "simgrid/simix.h"
 #include "simgrid/sg_config.h"
-#include "simgrid_config.h" /* what was compiled in? */
+#include "instr/instr_interface.h"
 #include "mc/mc.h"
 #include "simgrid/instr.h"
+#include "simgrid/simix.h"
+#include "simgrid_config.h" /* what was compiled in? */
 #include "src/mc/mc_replay.h"
 #include "src/surf/surf_interface.hpp"
+#include "surf/maxmin.hpp"
+#include "surf/surf.h"
+#include "xbt/config.h"
+#include "xbt/config.hpp"
+#include "xbt/log.h"
+#include "xbt/mallocator.h"
+#include "xbt/misc.h"
+#include "xbt/sysdep.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_config, surf, "About the configuration of SimGrid");
 
index 71b1050..e311a67 100644 (file)
@@ -6,8 +6,8 @@
 #ifndef SG_POPPING_PRIVATE_HPP
 #define SG_POPPING_PRIVATE_HPP
 
-#include <xbt/base.h>
 #include <simgrid/simix.h>
+#include <xbt/base.h>
 
 #include <src/kernel/activity/ActivityImpl.hpp>
 #include <src/kernel/activity/CommImpl.hpp>
index 217dbe5..6b0c54b 100644 (file)
 #include <xbt/range.hpp>
 #include <xbt/sysdep.h>
 
+#include "simgrid/modelchecker.h"
+#include "simgrid/sg_config.h"
+#include "smx_private.hpp"
 #include "src/internal_config.h"
 #include "xbt/log.h"
 #include "xbt/swag.h"
 #include "xbt/xbt_os_thread.h"
-#include "smx_private.hpp"
-#include "simgrid/sg_config.h"
-#include "src/internal_config.h"
-#include "simgrid/modelchecker.h"
-
 
 #ifdef _WIN32
 #include <windows.h>
index 4025023..3332c1d 100644 (file)
@@ -5,11 +5,11 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "smx_private.hpp"
-#include <xbt/ex.hpp>
-#include "xbt/sysdep.h"
+#include "xbt/config.h"
 #include "xbt/log.h"
+#include "xbt/sysdep.h"
 #include "xbt/xbt_os_time.h"
-#include "xbt/config.h"
+#include <xbt/ex.hpp>
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_environment, simix, "Logging specific to SIMIX (environment)");
 
index b2e7d31..d01e0f8 100644 (file)
 #include "simgrid/s4u/Engine.hpp"
 #include "simgrid/s4u/Host.hpp"
 
+#include "smx_private.hpp"
 #include "src/surf/surf_interface.hpp"
 #include "src/surf/xml/platf.hpp"
-#include "smx_private.hpp"
-#include "xbt/ex.h"             /* ex_backtrace_display */
+#include "xbt/ex.h" /* ex_backtrace_display */
 
 #include "mc/mc.h"
 #include "simgrid/sg_config.h"
index ab59350..5aab49d 100644 (file)
 #include <map>
 #include <vector>
 
-#include <xbt/base.h>
 #include <xbt/Extendable.hpp>
+#include <xbt/base.h>
 
-#include "simgrid/simix.h"
 #include "popping_private.hpp"
+#include "simgrid/simix.h"
 
 #include "src/kernel/activity/ExecImpl.hpp"
 
index abe0fa8..90c7f88 100644 (file)
@@ -14,8 +14,8 @@
 #include "src/surf/StorageImpl.hpp"
 #include "surf/surf.h"
 
-#include "src/surf/surf_interface.hpp"
 #include "smx_private.hpp"
+#include "src/surf/surf_interface.hpp"
 
 #include "src/kernel/activity/SynchroIo.hpp"
 
index cdd26bd..05846b7 100644 (file)
@@ -8,8 +8,8 @@
 
 #include <xbt/base.h>
 
-#include "simgrid/simix.h"
 #include "popping_private.hpp"
+#include "simgrid/simix.h"
 
 XBT_PRIVATE smx_activity_t SIMIX_file_read(surf_file_t fd, sg_size_t size);
 XBT_PRIVATE smx_activity_t SIMIX_file_write(surf_file_t fd, sg_size_t size);
index 1ca65b3..9939a7b 100644 (file)
@@ -4,10 +4,10 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "private.hpp"
+#include "smpi_coll.hpp"
 #include "smpi_comm.hpp"
 #include "smpi_datatype.hpp"
 #include "smpi_op.hpp"
-#include "smpi_coll.hpp"
 
 extern "C" { // This should really use the C linkage to be usable from Fortran
 
index f58808c..b642343 100644 (file)
@@ -4,8 +4,8 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "private.hpp"
-#include "smpi_comm.hpp"
 #include "smpi_coll.hpp"
+#include "smpi_comm.hpp"
 #include "smpi_datatype_derived.hpp"
 #include "smpi_op.hpp"
 #include "smpi_process.hpp"
index d757f71..4f1c188 100644 (file)
@@ -4,8 +4,8 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "private.hpp"
-#include "smpi_comm.hpp"
 #include "smpi_coll.hpp"
+#include "smpi_comm.hpp"
 #include "smpi_datatype_derived.hpp"
 #include "smpi_op.hpp"
 #include "smpi_process.hpp"
index c1c9896..ac91c2d 100644 (file)
@@ -6,8 +6,8 @@
 #include "private.hpp"
 #include "smpi_comm.hpp"
 #include "smpi_datatype.hpp"
-#include "smpi_request.hpp"
 #include "smpi_process.hpp"
+#include "smpi_request.hpp"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(smpi_pmpi);
 
index 806717f..6c72e88 100644 (file)
@@ -4,8 +4,8 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "private.hpp"
-#include "smpi_comm.hpp"
 #include "smpi_coll.hpp"
+#include "smpi_comm.hpp"
 #include "smpi_datatype_derived.hpp"
 #include "smpi_op.hpp"
 #include "smpi_process.hpp"
index 611c3eb..0a9b3b4 100644 (file)
@@ -39,8 +39,8 @@
  *
  */
 
-#include "../colls_private.hpp"
 #include "../coll_tuned_topo.hpp"
+#include "../colls_private.hpp"
 namespace simgrid{
 namespace smpi{
 int Coll_barrier_mvapich2_pair::barrier(MPI_Comm comm)
index 8676c45..727febc 100644 (file)
@@ -20,8 +20,8 @@
  * Additional copyrights may follow
  */
 
-#include "../colls_private.hpp"
 #include "../coll_tuned_topo.hpp"
+#include "../colls_private.hpp"
 
 /*
  * Barrier is ment to be a synchronous operation, as some BTLs can mark
index bd5e475..d7e48fd 100644 (file)
@@ -4,8 +4,8 @@
 /* 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. */
 
-#include "../colls_private.hpp"
 #include "../coll_tuned_topo.hpp"
+#include "../colls_private.hpp"
 
 #define MAXTREEFANOUT 32
 
index 1d227ba..a2eb2dc 100644 (file)
@@ -55,8 +55,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "../colls_private.hpp"
 #include "../coll_tuned_topo.hpp"
+#include "../colls_private.hpp"
 #define MAXTREEFANOUT 32
 namespace simgrid{
 namespace smpi{
index c16628e..06a23b4 100644 (file)
@@ -19,8 +19,8 @@
  * Additional copyrights may follow
  */
 
-#include "colls_private.hpp"
 #include "coll_tuned_topo.hpp"
+#include "colls_private.hpp"
 /*
  * Some static helpers.
  */
index 78669b3..63ff65c 100644 (file)
@@ -6,14 +6,14 @@
 #ifndef SMPI_COLLS_PRIVATE_HPP
 #define SMPI_COLLS_PRIVATE_HPP
 
-#include <cmath>
-#include "smpi/mpi.h"
 #include "private.hpp"
+#include "smpi/mpi.h"
 #include "smpi_coll.hpp"
 #include "smpi_comm.hpp"
 #include "smpi_datatype.hpp"
 #include "smpi_op.hpp"
 #include "smpi_request.hpp"
+#include <cmath>
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(smpi_colls);
 
index b3083b8..4510e08 100644 (file)
@@ -19,8 +19,8 @@
  * Additional copyrights may follow
  */
 
-#include "../colls_private.hpp"
 #include "../coll_tuned_topo.hpp"
+#include "../colls_private.hpp"
 
 namespace simgrid{
 namespace smpi{
index 1e36846..25e62ec 100644 (file)
@@ -19,8 +19,8 @@
  * Additional copyrights may follow
  */
 
-#include "../colls_private.hpp"
 #include "../coll_tuned_topo.hpp"
+#include "../colls_private.hpp"
 
 namespace simgrid{
 namespace smpi{
index 3b9dfd8..1bc913c 100644 (file)
@@ -21,8 +21,8 @@
  * Additional copyrights may follow
  */
 
-#include "../colls_private.hpp"
 #include "../coll_tuned_topo.hpp"
+#include "../colls_private.hpp"
 
 /*
  * Recursive-halving function is (*mostly*) copied from the BASIC coll module.
index 0182700..89737b6 100644 (file)
@@ -19,8 +19,8 @@
  * Additional copyrights may follow
  */
 
-#include "../colls_private.hpp"
 #include "../coll_tuned_topo.hpp"
+#include "../colls_private.hpp"
 
 namespace simgrid{
 namespace smpi{
index 1e89798..57ddfa1 100644 (file)
@@ -5,8 +5,8 @@
 /* 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. */
 
-#include "private.hpp"
 #include "smpi_coll.hpp"
+#include "private.hpp"
 #include "smpi_comm.hpp"
 #include "smpi_datatype.hpp"
 #include "smpi_op.hpp"
index 8410ae7..f9356ea 100644 (file)
@@ -8,6 +8,7 @@
 #ifndef SMPI_COLL_HPP
 #define SMPI_COLL_HPP
 
+#include "private.hpp"
 #include "xbt/base.h"
 
 /** \brief MPI collective description */
index 04bb581..0e480b0 100644 (file)
@@ -7,8 +7,8 @@
 #ifndef SMPI_PROCESS_HPP
 #define SMPI_PROCESS_HPP
 
-#include "src/instr/instr_smpi.hpp"
 #include "simgrid/s4u/Mailbox.hpp"
+#include "src/instr/instr_smpi.hpp"
 #include "xbt/synchro.h"
 
 namespace simgrid{
index ea49c12..8106b22 100644 (file)
@@ -7,8 +7,10 @@
 #ifndef SMPI_WIN_HPP_INCLUDED
 #define SMPI_WIN_HPP_INCLUDED
 
+#include "smpi_f2c.hpp"
 #include "smpi_keyvals.hpp"
 #include "xbt/synchro.h"
+#include <simgrid/msg.h>
 
 #include <vector>
 #include <list>
index f372239..407fe67 100644 (file)
@@ -4,9 +4,9 @@
 /* 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. */
 
-#include "simgrid/msg.h" /* barrier */
 #include "SmpiHost.hpp"
 #include "private.hpp"
+#include "simgrid/msg.h" /* barrier */
 #include "smpi_comm.hpp"
 #include <map>
 
index fe670b8..5fc43b3 100644 (file)
@@ -3,20 +3,20 @@
 /* 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. */
 
-#include "mc/mc.h"
-#include "simgrid/s4u/Mailbox.hpp"
-#include "simgrid/s4u/Host.hpp"
-#include "src/msg/msg_private.hpp"
-#include "src/simix/smx_private.hpp"
-#include "src/surf/surf_interface.hpp"
 #include "SmpiHost.hpp"
-#include "xbt/config.hpp"
+#include "mc/mc.h"
 #include "private.hpp"
+#include "simgrid/s4u/Host.hpp"
+#include "simgrid/s4u/Mailbox.hpp"
 #include "smpi_coll.hpp"
 #include "smpi_comm.hpp"
 #include "smpi_group.hpp"
 #include "smpi_info.hpp"
 #include "smpi_process.hpp"
+#include "src/msg/msg_private.hpp"
+#include "src/simix/smx_private.hpp"
+#include "src/surf/surf_interface.hpp"
+#include "xbt/config.hpp"
 
 #include <cfloat> /* DBL_MAX */
 #include <dlfcn.h>
index 42a2562..d073614 100644 (file)
@@ -3,14 +3,14 @@
 /* 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. */
 
+#include "smpi_process.hpp"
 #include "mc/mc.h"
+#include "private.hpp"
+#include "smpi_comm.hpp"
+#include "smpi_group.hpp"
 #include "src/mc/mc_replay.h"
 #include "src/msg/msg_private.hpp"
 #include "src/simix/smx_private.hpp"
-#include "private.hpp"
-#include "smpi_process.hpp"
-#include "smpi_group.hpp"
-#include "smpi_comm.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_process, smpi, "Logging specific to SMPI (kernel)");
 
index 63ef046..af3ecbb 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#include <stack>
 #include "private.hpp"
+#include <stack>
 
 typedef struct s_smpi_static {
   void *ptr;
index 9a11267..0b17daa 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#include "private.hpp"
 #include "smpi_f2c.hpp"
+#include "private.hpp"
 #include "smpi_process.hpp"
 
 #include <cstdio>
index 9a862c2..e282a22 100644 (file)
@@ -3,10 +3,10 @@
 /* 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. */
 
+#include "smpi_status.hpp"
 #include "private.hpp"
-#include "src/simix/smx_private.hpp"
 #include "smpi_datatype.hpp"
-#include "smpi_status.hpp"
+#include "src/simix/smx_private.hpp"
 
 namespace simgrid{
 namespace smpi{
index 4a3596e..7cc829a 100644 (file)
@@ -3,6 +3,7 @@
 /* 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. */
 
+#include "smpi_win.hpp"
 #include "private.hpp"
 #include "smpi_coll.hpp"
 #include "smpi_comm.hpp"
@@ -11,7 +12,6 @@
 #include "smpi_keyvals.hpp"
 #include "smpi_process.hpp"
 #include "smpi_request.hpp"
-#include "smpi_win.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_rma, smpi, "Logging specific to SMPI (RMA operations)");
 
index 16f095d..3ea7017 100644 (file)
@@ -4,9 +4,9 @@
 /* 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. */
 
-#include <xbt/dynar.h>
 #include "cpu_interface.hpp"
 #include "src/instr/instr_private.hpp" // TRACE_is_enabled(). FIXME: remove by subscribing tracing to the surf signals
+#include <xbt/dynar.h>
 
 XBT_LOG_EXTERNAL_CATEGORY(surf_kernel);
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_cpu, surf, "Logging specific to the SURF cpu module");
index 5c9093b..15de20f 100644 (file)
@@ -7,9 +7,9 @@
 #define SURF_MAXMIN_PRIVATE_H
 
 #include "surf/maxmin.hpp"
-#include "xbt/swag.h"
-#include "xbt/mallocator.h"
 #include "surf_interface.hpp"
+#include "xbt/mallocator.h"
+#include "xbt/swag.h"
 
 /** @ingroup SURF_lmm
  * @brief LMM element
index 2c78ab6..0a1f72a 100644 (file)
@@ -10,8 +10,8 @@
 #include "ns3/core-module.h"
 #include "ns3/node.h"
 
-#include "ns3/ns3_simulator.hpp"
 #include "network_ns3.hpp"
+#include "ns3/ns3_simulator.hpp"
 
 #include "src/instr/instr_private.hpp" // TRACE_is_enabled(). FIXME: remove by subscribing tracing to the surf signals
 #include "src/kernel/routing/NetPoint.hpp"
index f42b8c5..9b35b7c 100644 (file)
@@ -6,9 +6,9 @@
 #ifndef SURF_SURF_PRIVATE_HPP
 #define SURF_SURF_PRIVATE_HPP
 
-#include "surf/surf.h"
-#include "surf/maxmin.hpp"
 #include "src/surf/trace_mgr.hpp"
+#include "surf/maxmin.hpp"
+#include "surf/surf.h"
 
 #define NO_MAX_DURATION -1.0