set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
endif()
-
-### Set some variables for Cmake
SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
### Compute the include paths
set(INCLUDES
${CMAKE_HOME_DIRECTORY}
${CMAKE_HOME_DIRECTORY}/include
- ${CMAKE_HOME_DIRECTORY}/src
${CMAKE_HOME_DIRECTORY}/src/include
- ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/include
- ${CMAKE_BINARY_DIR}/src
)
if(WIN32)
#include <stdio.h>
#include <stdlib.h>
-#include "simgrid/msg.h" /* Yeah! If you want to use msg, you need to include simgrid/msg.h */
+#include "simgrid/msg.h" /* Yeah! If you want to use msg, you need to include simgrid/msg.h */
#include "simgrid/simix.h" /* semaphores for the barrier */
#include "xbt.h" /* calloc, printf */
-#include "instr/instr_private.h"
#include <xbt/replay.h>
/** @addtogroup MSG_examples
#include "xbt/asserts.h"
#include "simgrid/modelchecker.h"
#include <xbt/RngStream.h>
-#include "mc/mc_replay.h"
+#include "src/mc/mc_replay.h" // FIXME: this is an internal header
/** @addtogroup MSG_examples
*
#include <stdio.h>
#include <stdlib.h>
#include "simgrid/msg.h"
-#include "surf/surf_private.h"
int host(int argc, char *argv[]);
#include <stdio.h>
#include <stdlib.h>
#include "simgrid/msg.h"
-#include "surf/surf_private.h"
int host(int argc, char *argv[]);
#include <stdio.h>
#include <stdlib.h>
#include "simgrid/msg.h"
-#include "surf/surf_private.h"
#define INMEGA (1024*1024)
#include <stdio.h>
#include <stdlib.h>
#include "simgrid/msg.h"
-#include "surf/surf_private.h"
+#include "src/surf/surf_private.h"
int host(int argc, char *argv[]);
unsigned int task_comp_size = 50000000;
#include <stdio.h>
#include <stdlib.h>
+#include "surf/surfxml_parse.h"
#include "simgrid/msg.h"
-#include "surf/surf_private.h"
int host(int argc, char *argv[]);
unsigned int task_comp_size = 50000000;
sg_platf_new_AS_end();
sg_platf_end();
- sg_platf_exit();
return 0;
}
/* Create a log channel to have nice outputs. */
#include "xbt/log.h"
#include "xbt/asserts.h"
-#include "smpi/private.h"
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,
"Messages specific for this msg example");
#include "xbt/dynar.h"
#include "xbt/dict.h"
-#include "mc/mc_forward.h"
+#include "src/mc/mc_forward.h"
SG_BEGIN_DECL()
#include <ctype.h>
#include <lauxlib.h>
-#include <msg/msg_private.h>
-#include <simix/smx_host_private.h>
-#include <surf/surf_private.h>
+#include "src/msg/msg_private.h"
+#include "src/simix/smx_host_private.h"
+#include "src/surf/surf_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(lua_platf, bindings, "Lua bindings (platform module)");
#ifndef _SURF_MAXMIN_H
#define _SURF_MAXMIN_H
-#include "portable.h"
+#include "src/portable.h"
#include "xbt/misc.h"
#include "xbt/asserts.h"
#include "surf/datatypes.h"
#include "xbt/dict.h"
#include "xbt/graph.h"
#include "xbt/misc.h"
-#include "portable.h"
#include "xbt/config.h"
+#include "src/portable.h"
#include "surf/datatypes.h"
#include "xbt/lib.h"
#include "surf/surf_routing.h"
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
#include "xbt/virtu.h" /* sg_cmdline */
#include "xbt/xbt_os_time.h"
#include "simgrid/sg_config.h"
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
#include "simgrid/sg_config.h"
#include "surf/surf.h"
#include "simgrid_config.h"
-#include "instr/instr_private.h"
+#include "src/instr/instr_private.h"
#include "surf/surf.h"
-#include "surf/surf_private.h"
+#include "src/surf/surf_private.h"
typedef enum {
INSTR_US_DECLARE,
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
#include "xbt/lib.h"
#include "surf/surf.h"
#include "surf/surf_routing.h"
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_paje_header, instr, "Paje tracing event system (header)");
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
#include "xbt/virtu.h" /* sg_cmdline */
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_paje_trace, instr_trace, "tracing event system");
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_paje_types, instr, "Paje tracing event system (types)");
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_paje_values, instr, "Paje tracing event system (values)");
#include "simgrid/instr.h"
#include "instr/instr_interface.h"
-#include "internal_config.h"
+#include "src/internal_config.h"
#include "simgrid_config.h"
SG_BEGIN_DECL()
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_resource, instr, "tracing (un)-categorized resource utilization");
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
#include "xbt/virtu.h" /* sg_cmdline */
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_trace, instr, "tracing event system");
-#include <mc/ChunkedData.hpp>
+#include "src/mc/ChunkedData.hpp"
#define SOFT_DIRTY_BIT_NUMBER 55
#define SOFT_DIRTY (((uint64_t)1) << SOFT_DIRTY_BIT_NUMBER)
#include <vector>
-#include <mc/mc_forward.hpp>
-#include <mc/AddressSpace.hpp>
-#include <mc/PageStore.hpp>
+#include "src/mc/mc_forward.hpp"
+#include "src/mc/AddressSpace.hpp"
+#include "src/mc/PageStore.hpp"
namespace simgrid {
namespace mc {
#include "mc_object_info.h"
#include "mc_private.h"
-#include "mc/LocationList.hpp"
-#include "mc/AddressSpace.hpp"
-#include "mc/Frame.hpp"
-#include "mc/ObjectInformation.hpp"
-#include "mc/DwarfExpression.hpp"
+#include "src/mc/LocationList.hpp"
+#include "src/mc/AddressSpace.hpp"
+#include "src/mc/Frame.hpp"
+#include "src/mc/ObjectInformation.hpp"
+#include "src/mc/DwarfExpression.hpp"
#include "mc_dwarf.hpp"
using simgrid::mc::remote;
#include <stdexcept>
-#include <mc/AddressSpace.hpp>
+#include "src/mc/AddressSpace.hpp"
namespace simgrid {
namespace dwarf {
/* 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/Frame.hpp>
+#include "src/mc/Frame.hpp"
namespace simgrid {
namespace mc {
#include <xbt/base.h>
#include "mc_forward.h"
-#include "mc/LocationList.hpp"
-#include "mc/Variable.hpp"
-#include "mc/Frame.hpp"
+#include "src/mc/LocationList.hpp"
+#include "src/mc/Variable.hpp"
+#include "src/mc/Frame.hpp"
namespace simgrid {
namespace mc {
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "mc_dwarf.hpp"
-#include <mc/ObjectInformation.hpp>
-#include <mc/LocationList.hpp>
+#include "src/mc/ObjectInformation.hpp"
+#include "src/mc/LocationList.hpp"
namespace simgrid {
namespace dwarf {
#include <dwarf.h>
#include <elfutils/libdw.h>
-#include <simgrid_config.h>
+#include "simgrid_config.h"
#include "mc_base.h"
#include "mc_forward.hpp"
-#include "mc/AddressSpace.hpp"
-#include "mc/DwarfExpression.hpp"
+#include "src/mc/AddressSpace.hpp"
+#include "src/mc/DwarfExpression.hpp"
namespace simgrid {
namespace dwarf {
#include <xbt/base.h>
#include "mc_forward.hpp"
-#include "mc/Process.hpp"
-#include "mc/PageStore.hpp"
+#include "src/mc/Process.hpp"
+#include "src/mc/PageStore.hpp"
#include "mc_protocol.h"
namespace simgrid {
-#include "mc/Frame.hpp"
-#include "mc/ObjectInformation.hpp"
-#include "mc/Variable.hpp"
+#include "src/mc/Frame.hpp"
+#include "src/mc/ObjectInformation.hpp"
+#include "src/mc/Variable.hpp"
namespace simgrid {
namespace mc {
#include <xbt/base.h>
-#include "mc/mc_forward.h"
-#include "mc/Type.hpp"
-#include "mc/Frame.hpp"
+#include "src/mc/mc_forward.h"
+#include "src/mc/Type.hpp"
+#include "src/mc/Frame.hpp"
-#include "smpi/private.h"
+#include "src/smpi/private.h"
namespace simgrid {
namespace mc {
#include "mc_smx.h"
#include "mc_server.h"
-#include "mc/Process.hpp"
-#include "mc/AddressSpace.hpp"
-#include "mc/ObjectInformation.hpp"
-#include "mc/Variable.hpp"
+#include "src/mc/Process.hpp"
+#include "src/mc/AddressSpace.hpp"
+#include "src/mc/ObjectInformation.hpp"
+#include "src/mc/Variable.hpp"
using simgrid::mc::remote;
#include <xbt/mmalloc.h>
#ifdef HAVE_MC
-#include "xbt/mmalloc/mmprivate.h"
+#include "src/xbt/mmalloc/mmprivate.h"
#endif
#include <simgrid/simix.h>
-#include "simix/popping_private.h"
-#include "simix/smx_private.h"
+#include "src/simix/popping_private.h"
+#include "src/simix/smx_private.h"
#include "mc_forward.hpp"
#include "mc_base.h"
#include "mc/mc.h"
#include "mc_snapshot.h"
-#include <mc/ChunkedData.hpp>
-#include <mc/RegionSnapshot.hpp>
+#include "src/mc/ChunkedData.hpp"
+#include "src/mc/RegionSnapshot.hpp"
extern "C" {
#include <xbt/base.h>
-#include <mc/PageStore.hpp>
-#include <mc/AddressSpace.hpp>
-#include <mc/ChunkedData.hpp>
+#include "src/mc/PageStore.hpp"
+#include "src/mc/AddressSpace.hpp"
+#include "src/mc/ChunkedData.hpp"
namespace simgrid {
namespace mc {
#include <xbt/base.h>
#include "mc_forward.h"
-#include "mc/LocationList.hpp"
+#include "src/mc/LocationList.hpp"
namespace simgrid {
namespace mc {
#include <xbt/base.h>
#include "mc_forward.h"
-#include "mc/LocationList.hpp"
+#include "src/mc/LocationList.hpp"
namespace simgrid {
namespace mc {
#include <simgrid/simix.h>
#include "mc_base.h"
-#include "../simix/smx_private.h"
-#include "mc/mc_record.h"
-#include "mc/mc_replay.h"
+#include "src/simix/smx_private.h"
+#include "src/mc/mc_record.h"
+#include "src/mc/mc_replay.h"
#include "mc/mc.h"
#include "mc_protocol.h"
#ifdef HAVE_MC
-#include "mc/Process.hpp"
-#include "mc/ModelChecker.hpp"
+#include "src/mc/Process.hpp"
+#include "src/mc/ModelChecker.hpp"
#include "mc_smx.h"
#include "mc_server.h"
#endif
#include <xbt/misc.h>
#include <simgrid/simix.h>
#include "simgrid_config.h"
-#include "internal_config.h"
-#include "../simix/smx_private.h"
+#include "src/internal_config.h"
+#include "src/simix/smx_private.h"
SG_BEGIN_DECL()
#include <link.h>
#include <dirent.h>
-#include "internal_config.h"
+#include "src/internal_config.h"
#include "mc_memory_map.h"
#include "mc_private.h"
#include "xbt/module.h"
#include <xbt/mmalloc.h>
-#include "../smpi/private.h"
+#include "src/smpi/private.h"
#include <alloca.h>
-#include "xbt/mmalloc/mmprivate.h"
+#include "src/xbt/mmalloc/mmprivate.h"
-#include "../simix/smx_private.h"
+#include "src/simix/smx_private.h"
#include <libunwind.h>
#include <libelf.h>
#include "mc_smx.h"
#include "mc_hash.hpp"
-#include "mc/ObjectInformation.hpp"
-#include "mc/Frame.hpp"
-#include "mc/Variable.hpp"
+#include "src/mc/ObjectInformation.hpp"
+#include "src/mc/Frame.hpp"
+#include "src/mc/Variable.hpp"
using simgrid::mc::remote;
#include <xbt/sysdep.h>
-#include "internal_config.h"
+#include "src/internal_config.h"
#include "mc_object_info.h"
#include "mc_safety.h"
#include "mc_liveness.h"
#include "mc_smx.h"
#include "mc_dwarf.hpp"
-#include "mc/Frame.hpp"
-#include "mc/ObjectInformation.hpp"
-#include "mc/Variable.hpp"
+#include "src/mc/Frame.hpp"
+#include "src/mc/ObjectInformation.hpp"
+#include "src/mc/Variable.hpp"
#ifdef HAVE_SMPI
-#include "smpi/private.h"
+#include "src/smpi/private.h"
#endif
#include "xbt/mmalloc.h"
-#include "xbt/mmalloc/mmprivate.h"
+#include "src/xbt/mmalloc/mmprivate.h"
-#include <xbt/probes.h>
+#include "src/xbt/probes.h"
using simgrid::mc::remote;
#include <xbt/config.h>
#include <mc/mc.h>
-#include "mc/mc_replay.h"
+#include "src/mc/mc_replay.h"
#include <simgrid/sg_config.h>
/* 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/ex_interface.h" /* internals of backtrace setup */
+#include "src/xbt/ex_interface.h" /* internals of backtrace setup */
#include "xbt/str.h"
#include "mc/mc.h"
#include "xbt/mmalloc.h"
#include "mc_object_info.h"
#include "mc/datatypes.h"
-#include "mc/mc_private.h"
-#include "mc/mc_snapshot.h"
-#include "mc/mc_dwarf.hpp"
-#include "mc/Type.hpp"
+#include "src/mc/mc_private.h"
+#include "src/mc/mc_snapshot.h"
+#include "src/mc/mc_dwarf.hpp"
+#include "src/mc/Type.hpp"
using simgrid::mc::remote;
#include <elfutils/libdw.h>
#include <simgrid_config.h>
-#include <simgrid/util.hpp>
+#include "src/simgrid/util.hpp"
#include <xbt/log.h>
#include <xbt/sysdep.h>
-#include <simgrid/util.hpp>
-
#include "mc_object_info.h"
#include "mc_private.h"
#include "mc_dwarf.hpp"
-#include "mc/Process.hpp"
-#include "mc/ObjectInformation.hpp"
-#include "mc/Variable.hpp"
+#include "src/mc/Process.hpp"
+#include "src/mc/ObjectInformation.hpp"
+#include "src/mc/Variable.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_dwarf, mc, "DWARF processing");
#define DW_LANG_Objc DW_LANG_ObjC /* fix spelling error in older dwarf.h */
#include <dwarf.h>
-#include "mc/Variable.hpp"
-#include "mc/mc_memory_map.h"
+#include "src/mc/Variable.hpp"
+#include "src/mc/mc_memory_map.h"
namespace simgrid {
namespace dwarf {
/* 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 "internal_config.h"
+#include "src/internal_config.h"
#include "mc_object_info.h"
#include "mc_private.h"
-#include "smpi/private.h"
-#include "mc/mc_snapshot.h"
+#include "src/smpi/private.h"
+#include "src/mc/mc_snapshot.h"
#include "mc_ignore.h"
#include "mc_protocol.h"
#include "mc_client.h"
#include <xbt/dynar.h>
#include "mc/datatypes.h"
-#include "mc/Process.hpp"
+#include "src/mc/Process.hpp"
#include "xbt/misc.h" /* SG_BEGIN_DECL */
#include "mc_object_info.h"
#include "mc_private.h"
-#include "mc/Type.hpp"
+#include "src/mc/Type.hpp"
namespace simgrid {
namespace dwarf {
}
/* Finalize the memory subsystem */
-#include "xbt_modinter.h"
+#include "src/xbt_modinter.h"
void MC_memory_exit(void)
{
}
#include "mc_snapshot.h"
#include <xbt/mmalloc.h>
-#include <mc/ChunkedData.hpp>
+#include "src/mc/ChunkedData.hpp"
using simgrid::mc::remote;
#include "mc_client.h"
#include "mc_exit.h"
-#include "xbt/mmalloc/mmprivate.h"
+#include "src/xbt/mmalloc/mmprivate.h"
extern "C" {
#include "mc_ignore.h"
#include "mcer_ignore.h"
#include "mc_exit.h"
-#include "mc/mc_liveness.h"
+#include "src/mc/mc_liveness.h"
using simgrid::mc::remote;
#include <xbt/misc.h>
#include <xbt/base.h>
-#include "mc/Process.hpp"
+#include "src/mc/Process.hpp"
#include "mc_exit.h"
SG_BEGIN_DECL()
#include <xbt/log.h>
-#include "simix/smx_private.h"
+#include "src/simix/smx_private.h"
#include "mc_smx.h"
#include "ModelChecker.hpp"
#include <xbt/log.h>
#include <simgrid/simix.h>
-#include "smpi/private.h"
+#include "src/smpi/private.h"
-#include "mc/Process.hpp"
+#include "src/mc/Process.hpp"
#include "mc_protocol.h"
/** @file
#include <stdbool.h>
-#include "internal_config.h"
-#include "smpi/private.h"
+#include "src/internal_config.h"
+#include "src/smpi/private.h"
#include "mc_snapshot.h"
#include "mc_private.h"
#include "ModelChecker.hpp"
#include "PageStore.hpp"
#include "mc_mmalloc.h"
-#include "mc/AddressSpace.hpp"
+#include "src/mc/AddressSpace.hpp"
#include "mc_unw.h"
#include "RegionSnapshot.hpp"
#include <libunwind.h>
#include "mc_object_info.h"
-#include "mc/Process.hpp"
+#include "src/mc/Process.hpp"
#include "mc_unw.h"
-#include "mc/Frame.hpp"
+#include "src/mc/Frame.hpp"
using simgrid::mc::remote;
#include <xbt/base.h>
-#include "mc/Process.hpp"
+#include "src/mc/Process.hpp"
SG_BEGIN_DECL()
#include "mc_safety.h"
#include "mc_liveness.h"
#include "mc_private.h"
-#include "mc/Process.hpp"
+#include "src/mc/Process.hpp"
#include "mc_smx.h"
extern "C" {
#include <xbt/sysdep.h>
-#include "mc/AddressSpace.hpp"
+#include "src/mc/AddressSpace.hpp"
#include "mc_xbt.hpp"
namespace simgrid {
#include <xbt/base.h>
-#include "mc/AddressSpace.hpp"
+#include "src/mc/AddressSpace.hpp"
namespace simgrid {
namespace mc {
#include <xbt/base.h>
-#include "internal_config.h"
+#include "src/internal_config.h"
#include "mc_object_info.h"
-#include "mc/mc_private.h"
-#include "smpi/private.h"
-#include "mc/mc_snapshot.h"
-#include "mc/mc_ignore.h"
-#include "mc/mc_protocol.h"
-#include "mc/mc_client.h"
-
-#include "mc/Frame.hpp"
-#include "mc/Variable.hpp"
-#include "mc/ObjectInformation.hpp"
+#include "src/mc/mc_private.h"
+#include "src/smpi/private.h"
+#include "src/mc/mc_snapshot.h"
+#include "src/mc/mc_ignore.h"
+#include "src/mc/mc_protocol.h"
+#include "src/mc/mc_client.h"
+
+#include "src/mc/Frame.hpp"
+#include "src/mc/Variable.hpp"
+#include "src/mc/ObjectInformation.hpp"
extern "C" {
#include <xbt/dynar.h>
#include "mc/datatypes.h"
-#include "mc/Process.hpp"
+#include "src/mc/Process.hpp"
#include "xbt/misc.h" /* SG_BEGIN_DECL */
#include <xbt/log.h>
#include "simgrid/sg_config.h"
-#include "xbt_modinter.h"
+#include "src/xbt_modinter.h"
#include "mc_base.h"
#include "mc_private.h"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "msg_private.h"
-#include "simix/smx_process_private.h"
+#include "src/simix/smx_process_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg_process, instr, "MSG process");
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
#include "msg_private.h"
#include "mc/mc.h"
/* 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 "msg/msg_private.h"
-#include "msg/msg_mailbox.h"
+#include "src/msg/msg_private.h"
+#include "src/msg/msg_mailbox.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
#include "simgrid/simix.h"
#include "simgrid/msg.h"
#include "simgrid/simix.h"
-#include "surf/surf.h"
+#include "src/include/surf/surf.h"
#include "xbt/base.h"
#include "xbt/fifo.h"
#include "xbt/dynar.h"
#include "xbt/swag.h"
#include "xbt/dict.h"
#include "xbt/config.h"
-#include "instr/instr_private.h"
+#include "src/instr/instr_private.h"
SG_BEGIN_DECL()
/**************** datatypes **********************************/
#include "msg_private.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
-#include "simix/smx_process_private.h"
+#include "src/simix/smx_process_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_process, msg,
"Logging specific to MSG (process)");
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "msg_private.h"
-#include "simix/smx_private.h"
+#include "src/simix/smx_private.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/log.h"
-#include "msg/msg_private.h"
-#include "msg/msg_mailbox.h"
+#include "src/msg/msg_private.h"
+#include "src/msg/msg_mailbox.h"
#include "simgrid/s4u/actor.hpp"
#include "simgrid/s4u/comm.hpp"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/log.h"
-#include "msg/msg_private.h"
-#include "msg/msg_mailbox.h"
+#include "src/msg/msg_private.h"
+#include "src/msg/msg_mailbox.h"
#include "simgrid/s4u/async.hpp"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/log.h"
-#include "msg/msg_private.h"
-#include "msg/msg_mailbox.h"
+#include "src/msg/msg_private.h"
+#include "src/msg/msg_mailbox.h"
#include "simgrid/s4u/comm.hpp"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/log.h"
-#include "msg/msg_private.h"
-#include "msg/msg_mailbox.h"
+#include "src/msg/msg_private.h"
+#include "src/msg/msg_mailbox.h"
#include "simgrid/s4u/actor.hpp"
#include "simgrid/s4u/comm.hpp"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/log.h"
-#include "msg/msg_private.h"
-#include "simix/smx_process_private.h"
+#include "src/msg/msg_private.h"
+#include "src/simix/smx_process_private.h"
#include "simgrid/s4u/host.hpp"
#include "simgrid/s4u/storage.hpp"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/log.h"
-#include "msg/msg_private.h"
-#include "msg/msg_mailbox.h"
+#include "src/msg/msg_private.h"
+#include "src/msg/msg_mailbox.h"
#include "simgrid/s4u/mailbox.hpp"
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
#include "private.h"
#include "simgrid/simdag.h"
#include "simgrid/simdag.h"
#include "xbt/sysdep.h"
#include "xbt/dynar.h"
-#include "instr/instr_private.h"
+#include "src/instr/instr_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sd_task, sd,
"Logging specific to SimDag (task)");
int SURF_CPU_LEVEL;
-#include "msg/msg_private.h" // MSG_host_priv_free. FIXME: killme
-#include "simdag/private.h" // __SD_workstation_destroy. FIXME: killme
-#include "simix/smx_host_private.h" // SIMIX_host_destroy. FIXME: killme
-#include "surf/cpu_interface.hpp"
-#include "surf/surf_routing.hpp"
+#include "src/msg/msg_private.h" // MSG_host_priv_free. FIXME: killme
+#include "src/simdag/private.h" // __SD_workstation_destroy. FIXME: killme
+#include "src/simix/smx_host_private.h" // SIMIX_host_destroy. FIXME: killme
+#include "src/surf/cpu_interface.hpp"
+#include "src/surf/surf_routing.hpp"
static XBT_INLINE void surf_cpu_free(void *r) {
delete static_cast<Cpu*>(r);
#include "smpi/smpi_interface.h"
#endif
#include "mc/mc.h"
-#include "mc/mc_record.h"
+#include "src/mc/mc_record.h"
#include "simgrid/instr.h"
-#include "mc/mc_replay.h"
+#include "src/mc/mc_replay.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_config, surf,
"About the configuration of simgrid");
}
/* callback to decide if we want to use the model-checking */
-#include "xbt_modinter.h"
+#include "src/xbt_modinter.h"
#ifdef HAVE_MC
extern int _sg_do_model_check; /* this variable lives in xbt_main until I find a right location for it */
/* 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_replay.h"
+#include "src/mc/mc_replay.h"
#include "smx_private.h"
-#include "mc/mc_forward.h"
+#include "src/mc/mc_forward.h"
#include "xbt/ex.h"
#include <math.h> /* isfinite() */
#include "mc/mc.h"
#include "xbt/fifo.h"
#include "xbt/xbt_os_thread.h"
#ifdef HAVE_MC
-#include "mc/mc_private.h"
+#include "src/mc/mc_private.h"
#endif
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_popping, simix,
*/
#include "smx_private.h"
-#include "mc/mc_forward.h"
+#include "src/mc/mc_forward.h"
#include "xbt/ex.h"
inline static const char* simcall_BODY_host_get_name(sg_host_t host) {
#include <xbt/base.h>
#include "smx_private.h"
#ifdef HAVE_MC
-#include "mc/mc_forward.h"
+#include "src/mc/mc_forward.h"
#endif
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_popping);
XBT_PUBLIC_DATA(const char*) simcall_names[]; /* Name of each simcall */
#include "popping_enum.h" /* Definition of e_smx_simcall_t, with one value per simcall */
-#include "mc/mc_forward.h" /* Definition of mc_snapshot_t, used by one simcall */
+#include "src/mc/mc_forward.h" /* Definition of mc_snapshot_t, used by one simcall */
typedef int (*simix_match_func_t)(void *, void *, smx_synchro_t);
typedef void (*simix_copy_data_func_t)(smx_synchro_t, void*, size_t);
fd.write('#include <xbt/base.h>\n');
fd.write('#include "smx_private.h"\n');
fd.write('#ifdef HAVE_MC\n');
- fd.write('#include "mc/mc_forward.h"\n');
+ fd.write('#include "src/mc/mc_forward.h"\n');
fd.write('#endif\n');
fd.write('\n');
fd.write('XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_popping);\n\n');
###
fd = header('popping_bodies.c')
fd.write('#include "smx_private.h"\n')
- fd.write('#include "mc/mc_forward.h"\n')
+ fd.write('#include "src/mc/mc_forward.h"\n')
fd.write('#include "xbt/ex.h"\n')
handle(fd, Simcall.body, simcalls, simcalls_dict)
fd.close()
/* 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 "portable.h"
+#include "src/portable.h"
#include "xbt/log.h"
#include "xbt/swag.h"
#include "xbt/xbt_os_thread.h"
#include "smx_private.h"
#include "simgrid/sg_config.h"
-#include "internal_config.h"
+#include "src/internal_config.h"
#include "simgrid/modelchecker.h"
#include "xbt/log.h"
#include "smx_private.h"
-#include "internal_config.h"
+#include "src/internal_config.h"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
#include "xbt/parmap.h"
#include "smx_private.h"
-#include "internal_config.h"
-#include "context_sysv_config.h" /* loads context system definitions */
+#include "src/internal_config.h"
+#include "src/context_sysv_config.h" /* loads context system definitions */
#include "mc/mc.h"
#ifdef _XBT_WIN32
#include "xbt/function_types.h"
#include "smx_private.h"
-#include "portable.h" /* loads context system definitions */
+#include "src/portable.h" /* loads context system definitions */
#include "xbt/swag.h"
#include "xbt/xbt_os_thread.h"
-#include "xbt_modinter.h" /* prototype of os thread module's init/exit in XBT */
+#include "src/xbt_modinter.h" /* prototype of os thread module's init/exit in XBT */
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
#include "xbt/str.h"
#include "xbt/ex.h" /* ex_backtrace_display */
#include "mc/mc.h"
-#include "mc/mc_replay.h"
+#include "src/mc/mc_replay.h"
#include "simgrid/sg_config.h"
#ifdef HAVE_MC
-#include "mc/mc_private.h"
-#include "mc/mc_protocol.h"
-#include "mc/mc_client.h"
+#include "src/mc/mc_private.h"
+#include "src/mc/mc_protocol.h"
+#include "src/mc/mc_client.h"
#endif
#ifdef HAVE_MC
#include <stdlib.h>
-#include "mc/mc_protocol.h"
+#include "src/mc/mc_protocol.h"
#endif
-#include "mc/mc_record.h"
+#include "src/mc/mc_record.h"
#ifdef HAVE_SMPI
-#include "smpi/private.h"
+#include "src/smpi/private.h"
#endif
XBT_LOG_NEW_CATEGORY(simix, "All SIMIX categories");
#include "xbt/log.h"
#include "xbt/dict.h"
#include "mc/mc.h"
-#include "mc/mc_replay.h"
+#include "src/mc/mc_replay.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_host, simix,
"SIMIX hosts");
#include "smx_private.h"
#include "xbt/log.h"
#include "mc/mc.h"
-#include "mc/mc_replay.h"
+#include "src/mc/mc_replay.h"
#include "xbt/dict.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_network, simix,
#include "xbt/config.h"
#include "xbt/xbt_os_time.h"
#include "xbt/function_types.h"
-#include "xbt/ex_interface.h"
-#include "instr/instr_private.h"
+#include "src/xbt/ex_interface.h"
+#include "src/instr/instr_private.h"
#include "smx_process_private.h"
#include "smx_host_private.h"
#include "smx_io_private.h"
#include "xbt/log.h"
#include "xbt/dict.h"
#include "mc/mc.h"
-#include "mc/mc_replay.h"
-#include "mc/mc_client.h"
+#include "src/mc/mc_replay.h"
+#include "src/mc/mc_client.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_process, simix,
"Logging specific to SIMIX (process)");
#include <math.h>
#include "smpi/mpi.h"
-#include "smpi/private.h"
+#include "src/smpi/private.h"
#include "xbt/ex.h"
#include "xbt.h"
#include "colls_private.h"
#ifdef HAVE_MC
-#include "mc/mc_private.h"
+#include "src/mc/mc_private.h"
#endif
#include <float.h>
#ifndef SMPI_PRIVATE_H
#define SMPI_PRIVATE_H
-#include "internal_config.h"
+#include "src/internal_config.h"
#include "xbt.h"
#include "xbt/base.h"
#include "xbt/xbt_os_time.h"
#include "xbt/synchro_core.h"
#include "simgrid/simix.h"
-#include "smpi/smpi_interface.h"
+#include "src/include/smpi/smpi_interface.h"
#include "smpi/smpi.h"
#include "smpi/smpi_cocci.h"
-#include "instr/instr_private.h"
+#include "src/instr/instr_private.h"
SG_BEGIN_DECL()
#include "private.h"
#include "xbt/virtu.h"
#include "mc/mc.h"
-#include "mc/mc_replay.h"
+#include "src/mc/mc_replay.h"
#include "xbt/replay.h"
#include <errno.h>
-#include "simix/smx_private.h"
+#include "src/simix/smx_private.h"
#include "surf/surf.h"
#include "simgrid/sg_config.h"
#include "colls/colls.h"
/* 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 "internal_config.h"
+#include "src/internal_config.h"
#include "private.h"
#include "xbt/dict.h"
#include "xbt/sysdep.h"
#include "surf/surf.h"
#include "simgrid/sg_config.h"
#include "simgrid/modelchecker.h"
-#include "mc/mc_replay.h"
+#include "src/mc/mc_replay.h"
#ifndef WIN32
#include <sys/mman.h>
#include "xbt/dict.h"
#include "smpi_mpi_dt_private.h"
#include "limits.h"
-#include "simix/smx_private.h"
+#include "src/simix/smx_private.h"
#include "colls/colls.h"
#include "xbt/ex.h"
#include "xbt/log.h"
#include "simgrid/simix.h"
#include "smpi/smpi.h"
-#include "internal_config.h"
+#include "src/internal_config.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_dvfs, smpi,
"Logging specific to SMPI (experimental DVFS support)");
#include "private.h"
#include "smpi_mpi_dt_private.h"
#include "mc/mc.h"
-#include "mc/mc_record.h"
+#include "src/mc/mc_record.h"
#include "xbt/replay.h"
#include "surf/surf.h"
-#include "simix/smx_private.h"
+#include "src/simix/smx_private.h"
#include "simgrid/sg_config.h"
-#include "mc/mc_replay.h"
+#include "src/mc/mc_replay.h"
#include <float.h> /* DBL_MAX */
#include <stdint.h>
#include "host_interface.hpp"
-#include "simix/smx_private.h"
+#include "src/simix/smx_private.h"
#include "cpu_cas01.hpp"
#include "simgrid/sg_config.h"
/* 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 "instr/instr_private.h"
+#include "src/instr/instr_private.h"
-#include "surf/surf_private.h"
+#include "src/surf/surf_private.h"
#include "xbt/graph.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_routing, instr, "Tracing platform hierarchy");
/* 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 "instr/instr_private.h"
-#include "surf/surf_private.h"
+#include "src/instr/instr_private.h"
+#include "src/surf/surf_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_surf, instr, "Tracing Surf");
#include "surf/random_mgr.h"
#include "xbt/sysdep.h"
-#include "internal_config.h" /*_XBT_WIN32*/
+#include "src/internal_config.h" /*_XBT_WIN32*/
#include <math.h>
#include <stdlib.h>
#include "surf_interface.hpp"
#include "network_interface.hpp"
#include "surf_routing_cluster.hpp"
-#include "instr/instr_private.h"
+#include "src/instr/instr_private.h"
#include "plugins/energy.hpp"
#include "vm_interface.hpp"
#include "network_interface.hpp"
#include "cpu_interface.hpp"
#include "host_interface.hpp"
-#include "simix/smx_host_private.h"
+#include "src/simix/smx_host_private.h"
#include "surf_routing.hpp"
#include "simgrid/sg_config.h"
#include "mc/mc.h"
#include "surf/surf_routing.h"
#include "simgrid/platf_interface.h"
#include "surf/surf.h"
-#include "surf/surf_private.h"
-#include "internal_config.h"
+#include "src/surf/surf_private.h"
+#include "src/internal_config.h"
#ifdef LIBSIGC
#include <sigc++/sigc++.h>
#include "xbt/log.h"
#include "surf/surfxml_parse.h"
#include "surf/random_mgr.h"
-#include "instr/instr_private.h"
+#include "src/instr/instr_private.h"
#include "surf/surfxml_parse_values.h"
#define NO_MAX_DURATION -1.0
#define _SURF_SURF_ROUTING_PRIVATE_H
#include <float.h>
-#include "internal_config.h"
+#include "src/internal_config.h"
#include "surf_interface.hpp"
#include "xbt/base.h"
#include "xbt/file.h"
#include "xbt/dict.h"
#include "surf/surfxml_parse.h"
-#include "surf/surf_private.h"
+#include "src/surf/surf_private.h"
#include "surf/random_mgr.h"
#include "simgrid/sg_config.h"
#include "xbt/dict.h"
#include "simgrid/platf.h"
#include "surf/surfxml_parse.h"
-#include "surf/surf_private.h"
+#include "src/surf/surf_private.h"
#ifdef HAVE_LUA
-#include "bindings/lua/simgrid_lua.h"
-#include "bindings/lua/lua_state_cloner.h"
+#include "src/bindings/lua/simgrid_lua.h"
+#include "src/bindings/lua/lua_state_cloner.h"
#include <lua.h> /* Always include this when calling Lua */
#include <lauxlib.h> /* Always include this when calling Lua */
#include "xbt/log.h"
#include "xbt/str.h"
#include "xbt/module.h" /* xbt_binary_name */
-#include "xbt_modinter.h" /* backtrace initialization headers */
+#include "src/xbt_modinter.h" /* backtrace initialization headers */
#ifdef HAVE_MC
#define UNW_LOCAL_ONLY
#include <libunwind.h>
/* This is partially inspirated from the OSSP ts (Test Suite Library) */
-#include "portable.h"
+#include "src/portable.h"
#include "xbt/sysdep.h" /* bvprintf */
#include "xbt/cunit.h"
#include "xbt/ex.h"
#include "xbt/log.h"
#include "xbt/mallocator.h"
-#include "xbt_modinter.h"
+#include "src/xbt_modinter.h"
#include "xbt/str.h"
#include "dict_private.h"
#include <stdio.h>
#include <stdlib.h>
-#include "portable.h" /* execinfo when available */
+#include "src/portable.h" /* execinfo when available */
#include "xbt/ex.h"
#include "xbt/str.h"
#include "xbt/synchro_core.h"
-#include "xbt_modinter.h" /* backtrace initialization headers */
+#include "src/xbt_modinter.h" /* backtrace initialization headers */
-#include "xbt/ex_interface.h"
+#include "src/xbt/ex_interface.h"
#include "simgrid/sg_config.h" /* Configuration mechanism of SimGrid */
}
#if defined(HAVE_EXECINFO_H) && defined(HAVE_POPEN) && defined(ADDR2LINE)
-# include "backtrace_linux.c"
+# include "src/xbt/backtrace_linux.c"
#elif (defined(_XBT_WIN32) && defined (_M_IX86)) && !defined(__GNUC__)
-# include "backtrace_windows.c"
+# include "src/xbt/backtrace_windows.c"
#else
-# include "backtrace_dummy.c"
+# include "src/xbt/backtrace_dummy.c"
#endif
/** @brief shows an exception content and the associated stack if available */
#include "xbt/log.h"
#include "xbt/mallocator.h"
#include "fifo_private.h"
-#include "xbt_modinter.h"
+#include "src/xbt_modinter.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_fifo, xbt, "FIFO");
#include <stdio.h> /* snprintf */
#include <stdlib.h> /* snprintf */
-#include "portable.h" /* to get a working stdarg.h */
+#include "src/portable.h" /* to get a working stdarg.h */
-#include "xbt_modinter.h"
+#include "src/xbt_modinter.h"
#include "xbt/misc.h"
#include "xbt/ex.h"
#include "xbt/str.h"
#include "xbt/sysdep.h"
-#include "xbt/log_private.h"
+#include "src/xbt/log_private.h"
#include "xbt/dynar.h"
#include "xbt/xbt_os_thread.h"
#include <dlfcn.h>
-#include "../../mc/mc_base.h"
+#include "src/mc/mc_base.h"
#include "mmprivate.h"
-#include "xbt_modinter.h"
-#include "internal_config.h"
+#include "src/xbt_modinter.h"
+#include "src/internal_config.h"
#include <math.h>
-#include "../mc/mc_protocol.h"
+#include "src/mc/mc_protocol.h"
/* ***** Whether to use `mmalloc` of the undrlying malloc ***** */
#endif
#include "mmprivate.h"
#include "xbt/ex.h"
-#include "xbt_modinter.h" /* declarations of mmalloc_preinit and friends that live here */
+#include "src/xbt_modinter.h" /* declarations of mmalloc_preinit and friends that live here */
#ifndef SEEK_SET
#define SEEK_SET 0
#include <xbt/base.h>
#include <xbt/misc.h>
-#include "portable.h"
+#include "src/portable.h"
#include "xbt/xbt_os_thread.h"
#include "xbt/mmalloc.h"
#include "xbt/ex.h"
#include <atomic>
-#include "internal_config.h"
+#include "src/internal_config.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "xbt/dynar.h"
#include "xbt/xbt_os_thread.h"
#include "xbt/sysdep.h"
-#include "simix/smx_private.h"
+#include "src/simix/smx_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_parmap, xbt, "parmap: parallel map");
#include <string.h>
#include "setset_private.h"
#include "xbt/sysdep.h"
-#include "internal_config.h" /*_XBT_WIN32*/
+#include "src/internal_config.h" /*_XBT_WIN32*/
/*The function ffs doesn't exist for windows*/
#ifdef _XBT_WIN32
#define LINUX_COMPATIBLE
#endif
-#include "portable.h" /* to get a working stdarg.h */
+#include "src/portable.h" /* to get a working stdarg.h */
#include <sys/types.h>
#include <string.h>
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/sysdep.h"
-#include "xbt/log_private.h"
+#include "src/xbt/log_private.h"
#ifdef HAVE_SMPI
-#include "smpi/private.h" // to access bench_begin/end. Not ultraclean, I confess
+#include "src/smpi/private.h" // to access bench_begin/end. Not ultraclean, I confess
#endif
#include <stdio.h>
/* 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 "portable.h" /* execinfo when available */
+#include "src/portable.h" /* execinfo when available */
#include "xbt/synchro_core.h" /* xbt_thread_self_name */
-#include "xbt/ex_interface.h"
+#include "src/xbt/ex_interface.h"
#include "xbt/sysdep.h"
#include "xbt/strbuff.h"
-#include "xbt/log_private.h"
+#include "src/xbt/log_private.h"
#include "simgrid/simix.h" /* SIMIX_host_self_get_name */
#include "surf/surf.h"
#include <stdio.h>
#include "xbt/sysdep.h"
#include "xbt/strbuff.h" /* For dynamic version when the static one fails */
-#include "xbt/log_private.h"
+#include "src/xbt/log_private.h"
#include "simgrid/simix.h" /* SIMIX_host_self_get_name */
#include "surf/surf.h"
#include <stdio.h>
-#include "portable.h"
+#include "src/portable.h"
extern const char *xbt_log_priority_names[8];
extern int xbt_log_no_loc;
#include "xbt/misc.h"
#include "simgrid_config.h" /* _XBT_WIN32 */
-#include "internal_config.h" /* MMALLOC_WANT_OVERRIDE_LEGACY */
-#include "portable.h"
+#include "src/internal_config.h" /* MMALLOC_WANT_OVERRIDE_LEGACY */
+#include "src/portable.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
#include "xbt/dynar.h"
#include "xbt/module.h" /* this module */
-#include "xbt_modinter.h" /* prototype of other module's init/exit in XBT */
+#include "src/xbt_modinter.h" /* prototype of other module's init/exit in XBT */
#include "simgrid/sg_config.h"
#include "xbt/sysdep.h"
#include "xbt/file.h" /* this module */
#include "xbt/log.h"
-#include "portable.h"
+#include "src/portable.h"
#ifndef _MSC_VER
#include "libgen.h" /* POSIX dirname */
#include <unistd.h>
#endif
-#include "internal_config.h"
+#include "src/internal_config.h"
#include "xbt/sysdep.h"
#include "xbt/ex.h"
-#include "xbt/ex_interface.h" /* We play crude games with exceptions */
-#include "portable.h"
+#include "src/xbt/ex_interface.h" /* We play crude games with exceptions */
+#include "src/portable.h"
#include "xbt/xbt_os_time.h" /* Portable time facilities */
#include "xbt/xbt_os_thread.h" /* This module */
-#include "xbt_modinter.h" /* Initialization/finalization of this module */
+#include "src/xbt_modinter.h" /* Initialization/finalization of this module */
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_sync_os, xbt,
"Synchronization mechanism (OS-level)");
#include "xbt/sysdep.h"
#include "xbt/xbt_os_time.h" /* this module */
#include "xbt/log.h"
-#include "portable.h"
+#include "src/portable.h"
#include <math.h> /* floor */
#ifdef _XBT_WIN32
/* 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 "internal_config.h"
+#include "src/internal_config.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
#include "xbt/str.h"
/* 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_modinter.h"
+#include "src/xbt_modinter.h"
#include "xbt/sysdep.h"
#include "xbt/xbt_os_thread.h"
-#include "portable.h" /* CONTEXT_THREADS */
+#include "src/portable.h" /* CONTEXT_THREADS */
#ifndef CONTEXT_THREADS
#ifndef WIN32
/* 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 "portable.h"
+#include "src/portable.h"
#include "xbt/misc.h"
#include "xbt/sysdep.h"
#include "xbt/str.h" /* headers of these functions */
#include <mc/mc.h>
#include "mc/datatypes.h"
-#include "mc/mc_object_info.h"
-#include "mc/mc_private.h"
+#include "src/mc/mc_object_info.h"
+#include "src/mc/mc_private.h"
-#include "mc/Process.hpp"
-#include "mc/Type.hpp"
-#include "mc/ObjectInformation.hpp"
-#include "mc/Variable.hpp"
+#include "src/mc/Process.hpp"
+#include "src/mc/Type.hpp"
+#include "src/mc/ObjectInformation.hpp"
+#include "src/mc/Variable.hpp"
int test_some_array[4][5][6];
struct some_struct { int first; int second[4][5]; } test_some_struct;
#include <assert.h>
#include <stdlib.h>
-#include "mc/mc_private.h"
-#include "mc/mc_object_info.h"
+#include "src/mc/mc_private.h"
+#include "src/mc/mc_object_info.h"
-#include "mc/Process.hpp"
-#include "mc/Type.hpp"
-#include "mc/ObjectInformation.hpp"
-#include "mc/Variable.hpp"
+#include "src/mc/Process.hpp"
+#include "src/mc/Type.hpp"
+#include "src/mc/ObjectInformation.hpp"
+#include "src/mc/Variable.hpp"
static simgrid::mc::Process* process;
#include <stdio.h>
#include <stdlib.h>
#include "simgrid/simdag.h"
-#include "surf/surf_private.h"
+#include "src/surf/surf_private.h"
#include "xbt/xbt_os_time.h"
#define BILLION 1000000000L;
#include <stdio.h>
#include <stdlib.h>
#include "simgrid/simdag.h"
-#include "surf/surf_private.h"
+#include "src/surf/surf_private.h"
#include "xbt/xbt_os_time.h"
extern routing_platf_t routing_platf;
#include <stdio.h>
#include <stdlib.h>
#include "simgrid/simdag.h"
-#include "surf/surf_private.h"
#include "xbt/log.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(basic_link_test, sd,
#include <stdio.h>
#include <stdlib.h>
#include "simgrid/simdag.h"
-#include "surf/surf_private.h"
int main(int argc, char **argv)
{
#include <stdio.h>
#include <stdlib.h>
#include "simgrid/msg.h"
-#include "surf/surf_private.h"
int host(int argc, char *argv[]);
#include "xbt/ex.h"
#include "xbt/xbt_os_time.h"
#include "surf/surf.h"
-#include "surf/surf_private.h"
+#include "src/surf/surf_private.h"
static const char link_ctn_v2[] = "link:ctn";
static const char link_ctn_v3[] = "link_ctn";
#include <stdio.h>
#include <stdlib.h>
-#include "simgrid/simdag.h"
-#include "surf/surf_private.h"
+#include "src/surf/surf_private.h"
extern routing_platf_t routing_platf;
#include <xbt/dynar.h>
#include <xbt/parmap.h>
#include <xbt/sysdep.h>
-#include <internal_config.h> /* HAVE_FUTEX_H */
+#include "src/internal_config.h" /* HAVE_FUTEX_H */
#include "simgrid/simix.h"
#include "xbt/xbt_os_time.h"
#include "xbt.h"
#include "xbt/ex.h"
#include "xbt/xbt_os_time.h"
-#include "internal_config.h"
+#include "src/internal_config.h"
XBT_LOG_NEW_DEFAULT_CATEGORY(parmap_test, "Test for parmap");