From 9bc2f7734295810a24f98d65169f06705e3ea951 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 20 Dec 2016 00:10:30 +0100 Subject: [PATCH] cut some useless includes --- src/kernel/activity/SynchroIo.cpp | 1 - src/kernel/context/ContextUnix.cpp | 14 +++++--------- src/msg/instr_msg_process.cpp | 5 +++-- src/msg/instr_msg_task.cpp | 6 +++--- src/msg/msg_actions.cpp | 6 ++---- src/msg/msg_deployment.cpp | 7 ++----- src/msg/msg_environment.cpp | 8 ++------ src/msg/msg_global.cpp | 11 +++-------- src/msg/msg_gos.cpp | 5 +---- src/msg/msg_host.cpp | 6 ++---- src/msg/msg_io.cpp | 9 +++------ src/msg/msg_mailbox.cpp | 9 ++------- src/msg/msg_private.h | 19 ------------------- src/msg/msg_process.cpp | 7 +------ src/msg/msg_synchro.cpp | 4 +--- src/msg/msg_task.cpp | 2 -- src/msg/msg_vm.cpp | 20 ++++++++++---------- src/plugins/vm/VirtualMachineImpl.cpp | 5 ----- src/plugins/vm/VirtualMachineImpl.hpp | 8 +------- src/plugins/vm/VmHostExt.hpp | 2 -- src/plugins/vm/s4u_VirtualMachine.cpp | 6 ------ src/s4u/s4u_activity.cpp | 2 +- src/s4u/s4u_actor.cpp | 2 -- src/simix/smx_deployment.cpp | 9 +++++---- src/simix/smx_host.cpp | 6 +----- src/simix/smx_host_private.h | 1 - src/simix/smx_network_private.h | 3 --- src/simix/smx_private.h | 11 ----------- src/surf/HostImpl.cpp | 7 ------- 29 files changed, 48 insertions(+), 153 deletions(-) diff --git a/src/kernel/activity/SynchroIo.cpp b/src/kernel/activity/SynchroIo.cpp index 88a9c08852..cef2ced0f2 100644 --- a/src/kernel/activity/SynchroIo.cpp +++ b/src/kernel/activity/SynchroIo.cpp @@ -5,7 +5,6 @@ #include "src/kernel/activity/SynchroIo.hpp" #include "src/surf/surf_interface.hpp" -#include "src/simix/popping_private.h" #include "src/simix/smx_private.h" void simgrid::kernel::activity::Io::suspend() diff --git a/src/kernel/context/ContextUnix.cpp b/src/kernel/context/ContextUnix.cpp index 550172e6ce..226236e1b6 100644 --- a/src/kernel/context/ContextUnix.cpp +++ b/src/kernel/context/ContextUnix.cpp @@ -1,20 +1,16 @@ -/* Copyright (c) 2009-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2009-2015. 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. */ -/* \file UContext.cpp Context switching with ucontexts from System V */ +/* \file UContext.cpp Context switching with ucontexts from System V */ -#include - -#include #include /* context relative declarations */ -#include "xbt/parmap.h" -#include "src/simix/smx_private.h" -#include "src/internal_config.h" #include "mc/mc.h" +#include "src/simix/ActorImpl.hpp" +#include "src/simix/smx_private.h" +#include "xbt/parmap.h" /** Many integers are needed to store a pointer * diff --git a/src/msg/instr_msg_process.cpp b/src/msg/instr_msg_process.cpp index c1c7ea87b3..6243a29f63 100644 --- a/src/msg/instr_msg_process.cpp +++ b/src/msg/instr_msg_process.cpp @@ -3,9 +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 "msg_private.h" +#include "simgrid/s4u/host.hpp" +#include "src/instr/instr_private.h" +#include "src/msg/msg_private.h" #include "src/simix/ActorImpl.hpp" -#include XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg_process, instr, "MSG process"); diff --git a/src/msg/instr_msg_task.cpp b/src/msg/instr_msg_task.cpp index c450a220c0..ae50dfb8ba 100644 --- a/src/msg/instr_msg_task.cpp +++ b/src/msg/instr_msg_task.cpp @@ -4,11 +4,11 @@ /* 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.h" -#include "msg_private.h" #include "mc/mc.h" +#include "src/instr/instr_private.h" +#include "src/msg/msg_private.h" -XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_msg, instr, "MSG"); +XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_msg, instr, "MSG instrumentation"); void TRACE_msg_set_task_category(msg_task_t task, const char *category) { diff --git a/src/msg/msg_actions.cpp b/src/msg/msg_actions.cpp index 85f009f5a9..2ad8a580b5 100644 --- a/src/msg/msg_actions.cpp +++ b/src/msg/msg_actions.cpp @@ -1,11 +1,9 @@ -/* Copyright (c) 2009-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2009-2015. 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. */ -#include "msg_private.h" -#include "xbt/dynar.h" +#include "src/msg/msg_private.h" #include "xbt/replay.h" #include diff --git a/src/msg/msg_deployment.cpp b/src/msg/msg_deployment.cpp index 015d748e8c..f21b33b32b 100644 --- a/src/msg/msg_deployment.cpp +++ b/src/msg/msg_deployment.cpp @@ -1,12 +1,9 @@ -/* Copyright (c) 2004-2014. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2004-2014. 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. */ -#include "msg_private.h" -#include "xbt/sysdep.h" -#include "xbt/log.h" +#include "src/msg/msg_private.h" /** \ingroup msg_simulation * \brief An application deployer. diff --git a/src/msg/msg_environment.cpp b/src/msg/msg_environment.cpp index 9783390f54..15f3b151c7 100644 --- a/src/msg/msg_environment.cpp +++ b/src/msg/msg_environment.cpp @@ -1,15 +1,11 @@ -/* Copyright (c) 2004-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2004-2016. 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. */ -#include "msg_private.h" -#include "xbt/sysdep.h" -#include "xbt/log.h" - #include "simgrid/s4u/NetZone.hpp" #include "simgrid/s4u/engine.hpp" +#include "src/msg/msg_private.h" #if HAVE_LUA #include diff --git a/src/msg/msg_global.cpp b/src/msg/msg_global.cpp index 77bd28c8ad..f4dd8abf85 100644 --- a/src/msg/msg_global.cpp +++ b/src/msg/msg_global.cpp @@ -1,18 +1,13 @@ -/* Copyright (c) 2004-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2004-2015. 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. */ -#include +#include "simgrid/s4u/host.hpp" -#include "simgrid/msg.h" #include "instr/instr_interface.h" -#include "msg_private.h" #include "mc/mc.h" -#include "xbt/sysdep.h" -#include "xbt/log.h" -#include "simgrid/sg_config.h" /* Configuration mechanism of SimGrid */ +#include "src/msg/msg_private.h" #include "src/surf/xml/platf_private.hpp" // FIXME: KILLME by removing MSG_post_create_environment() XBT_LOG_NEW_CATEGORY(msg, "All MSG categories"); diff --git a/src/msg/msg_gos.cpp b/src/msg/msg_gos.cpp index d7d6119275..6ac5ddf57c 100644 --- a/src/msg/msg_gos.cpp +++ b/src/msg/msg_gos.cpp @@ -5,11 +5,8 @@ #include +#include "src/msg/msg_private.h" #include "src/simix/smx_private.h" /* MSG_task_listen looks inside the rdv directly. Not clean. */ -#include "msg_private.h" -#include "mc/mc.h" -#include "xbt/log.h" -#include "xbt/sysdep.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_gos, msg, "Logging specific to MSG (gos)"); diff --git a/src/msg/msg_host.cpp b/src/msg/msg_host.cpp index b676e16beb..2be2e10d4e 100644 --- a/src/msg/msg_host.cpp +++ b/src/msg/msg_host.cpp @@ -4,11 +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/s4u/host.hpp" #include "src/msg/msg_private.h" -#include "xbt/sysdep.h" -#include "xbt/log.h" -#include "simgrid/simix.h" -#include + #include XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(msg); diff --git a/src/msg/msg_io.cpp b/src/msg/msg_io.cpp index d7548f79e1..aff8c7e884 100644 --- a/src/msg/msg_io.cpp +++ b/src/msg/msg_io.cpp @@ -1,13 +1,10 @@ -/* Copyright (c) 2004-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2004-2016. 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. */ -#include - -#include "msg_private.h" -#include "xbt/log.h" +#include "simgrid/s4u/host.hpp" +#include "src/msg/msg_private.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_io, msg, "Logging specific to MSG (io)"); diff --git a/src/msg/msg_mailbox.cpp b/src/msg/msg_mailbox.cpp index 218671054d..b4d55aa829 100644 --- a/src/msg/msg_mailbox.cpp +++ b/src/msg/msg_mailbox.cpp @@ -1,17 +1,12 @@ /* Mailboxes in MSG */ -/* Copyright (c) 2008-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2008-2017. 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. */ -#include - -#include "simgrid/msg.h" -#include "msg_private.h" -#include "simgrid/s4u/Actor.hpp" #include "simgrid/s4u/Mailbox.hpp" +#include "src/msg/msg_private.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_mailbox, msg, "Logging specific to MSG (mailbox)"); diff --git a/src/msg/msg_private.h b/src/msg/msg_private.h index fa1262c91c..053679675e 100644 --- a/src/msg/msg_private.h +++ b/src/msg/msg_private.h @@ -7,19 +7,7 @@ #ifndef METASIMGRID_PRIVATE_H #define METASIMGRID_PRIVATE_H -#include -#include - #include "simgrid/msg.h" -#include "simgrid/simix.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 "src/instr/instr_private.h" #include "src/kernel/activity/SynchroExec.hpp" #include "src/kernel/activity/SynchroComm.hpp" @@ -108,13 +96,6 @@ typedef struct msg_comm { msg_error_t status; /* status of the communication once finished */ } s_msg_comm_t; -/******************************* VM *************************************/ -typedef struct dirty_page { - double prev_clock; - double prev_remaining; - msg_task_t task; -} s_dirty_page, *dirty_page_t; - /************************** Global variables ********************************/ typedef struct MSG_Global { int debug_multiple_use; /* whether we want an error message when reusing the same Task for 2 things */ diff --git a/src/msg/msg_process.cpp b/src/msg/msg_process.cpp index 6189fe77ba..14f9fc9ea4 100644 --- a/src/msg/msg_process.cpp +++ b/src/msg/msg_process.cpp @@ -4,14 +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 - #include "msg_private.h" -#include "xbt/sysdep.h" -#include "xbt/log.h" -#include "xbt/functional.hpp" +#include "simgrid/s4u/host.hpp" #include "src/simix/ActorImpl.hpp" -#include "src/simix/smx_private.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_process, msg, "Logging specific to MSG (process)"); diff --git a/src/msg/msg_synchro.cpp b/src/msg/msg_synchro.cpp index 4090fb3911..a4801868e9 100644 --- a/src/msg/msg_synchro.cpp +++ b/src/msg/msg_synchro.cpp @@ -4,12 +4,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 +#include "xbt/ex.hpp" #include "msg_private.h" -#include "xbt/log.h" #include "xbt/synchro.h" -#include "xbt/sysdep.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_synchro, msg, "Logging specific to MSG (synchro)"); diff --git a/src/msg/msg_task.cpp b/src/msg/msg_task.cpp index a8b0c6b5ee..d0cbebb9db 100644 --- a/src/msg/msg_task.cpp +++ b/src/msg/msg_task.cpp @@ -5,8 +5,6 @@ #include "msg_private.h" #include "src/simix/smx_private.h" -#include "xbt/sysdep.h" -#include "xbt/log.h" /** @addtogroup m_task_management * diff --git a/src/msg/msg_vm.cpp b/src/msg/msg_vm.cpp index e2bd5085cb..3cf519b9e4 100644 --- a/src/msg/msg_vm.cpp +++ b/src/msg/msg_vm.cpp @@ -11,22 +11,22 @@ #include +#include "src/instr/instr_private.h" +#include "src/msg/msg_private.h" #include "src/plugins/vm/VirtualMachineImpl.hpp" #include "src/plugins/vm/VmHostExt.hpp" -#include "src/simix/ActorImpl.hpp" -#include -#include -#include "msg_private.h" -#include "xbt/sysdep.h" -#include "xbt/log.h" #include "simgrid/host.h" +#include "simgrid/simix.hpp" -#include "src/simix/smx_host_private.h" /* don't ask me why the VM functions are in there (FIXME:KILLME) */ +typedef struct dirty_page { + double prev_clock; + double prev_remaining; + msg_task_t task; +} s_dirty_page, *dirty_page_t; XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_vm, msg, "Cloud-oriented parts of the MSG API"); - /* **** ******** GENERAL ********* **** */ /** \ingroup m_vm_management @@ -117,8 +117,8 @@ msg_vm_t MSG_vm_create(msg_host_t pm, const char* name, int ramsize, int mig_net params.dp_cap = params.ramsize * 0.9; // assume working set memory is 90% of ramsize params.mig_speed = (double)mig_netspeed * 1024 * 1024; // mig_speed - //XBT_INFO("dp rate %f migspeed : %f intensity mem : %d, updatespeed %f, hostspeed %f",params.dp_rate, - // params.mig_speed, dp_intensity, update_speed, host_speed); + XBT_DEBUG("dp rate %f migspeed : %f intensity mem : %d, updatespeed %f, hostspeed %f", params.dp_rate, + params.mig_speed, dp_intensity, update_speed, host_speed); static_cast(vm)->setParameters(¶ms); return vm; diff --git a/src/plugins/vm/VirtualMachineImpl.cpp b/src/plugins/vm/VirtualMachineImpl.cpp index 67cd7bfd15..0f5dcc591e 100644 --- a/src/plugins/vm/VirtualMachineImpl.cpp +++ b/src/plugins/vm/VirtualMachineImpl.cpp @@ -5,14 +5,9 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "src/plugins/vm/VirtualMachineImpl.hpp" -#include "simgrid/s4u/VirtualMachine.hpp" #include "src/simix/ActorImpl.hpp" #include "src/simix/smx_host_private.h" -#include - -#include "src/surf/cpu_cas01.hpp" - XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_vm, surf, "Logging specific to the SURF VM module"); simgrid::vm::VMModel* surf_vm_model = nullptr; diff --git a/src/plugins/vm/VirtualMachineImpl.hpp b/src/plugins/vm/VirtualMachineImpl.hpp index 82b3d9ea1a..be85c44173 100644 --- a/src/plugins/vm/VirtualMachineImpl.hpp +++ b/src/plugins/vm/VirtualMachineImpl.hpp @@ -1,14 +1,8 @@ -/* Copyright (c) 2004-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2004-2016. 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. */ -#include -#include - -#include - #include "simgrid/s4u/VirtualMachine.hpp" #include "src/surf/HostImpl.hpp" diff --git a/src/plugins/vm/VmHostExt.hpp b/src/plugins/vm/VmHostExt.hpp index 46a26c8ff7..0a0bedbbf8 100644 --- a/src/plugins/vm/VmHostExt.hpp +++ b/src/plugins/vm/VmHostExt.hpp @@ -3,8 +3,6 @@ /* 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 - #include "src/surf/HostImpl.hpp" #ifndef VM_HOST_INFO_HPP_ diff --git a/src/plugins/vm/s4u_VirtualMachine.cpp b/src/plugins/vm/s4u_VirtualMachine.cpp index 05d21f9ecd..f0884c9378 100644 --- a/src/plugins/vm/s4u_VirtualMachine.cpp +++ b/src/plugins/vm/s4u_VirtualMachine.cpp @@ -3,16 +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 "simgrid/datatypes.h" -#include "simgrid/s4u/VirtualMachine.hpp" -#include "simgrid/s4u/host.hpp" -#include "simgrid/simix.hpp" #include "src/instr/instr_private.h" #include "src/plugins/vm/VirtualMachineImpl.hpp" #include "src/simix/smx_host_private.h" -#include "src/surf/HostImpl.hpp" #include "src/surf/cpu_cas01.hpp" -#include "xbt/asserts.h" XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_vm, "S4U virtual machines"); diff --git a/src/s4u/s4u_activity.cpp b/src/s4u/s4u_activity.cpp index 4568abb6c3..4e8caaa89f 100644 --- a/src/s4u/s4u_activity.cpp +++ b/src/s4u/s4u_activity.cpp @@ -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 "xbt/asserts.h" #include "xbt/log.h" -#include "src/msg/msg_private.h" #include "simgrid/s4u/Activity.hpp" diff --git a/src/s4u/s4u_actor.cpp b/src/s4u/s4u_actor.cpp index fbd34dc674..6b6f990c46 100644 --- a/src/s4u/s4u_actor.cpp +++ b/src/s4u/s4u_actor.cpp @@ -5,7 +5,6 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "xbt/log.h" -#include "src/msg/msg_private.h" #include "simgrid/s4u/Actor.hpp" #include "simgrid/s4u/comm.hpp" @@ -13,7 +12,6 @@ #include "simgrid/s4u/Mailbox.hpp" #include "src/kernel/context/Context.hpp" -#include "src/simix/smx_private.h" XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_actor,"S4U actors"); diff --git a/src/simix/smx_deployment.cpp b/src/simix/smx_deployment.cpp index ffc3d902a3..492e147ac4 100644 --- a/src/simix/smx_deployment.cpp +++ b/src/simix/smx_deployment.cpp @@ -7,12 +7,13 @@ #include #include +#include "simgrid/s4u/host.hpp" #include "smx_private.h" -#include -#include "xbt/sysdep.h" -#include "xbt/log.h" -#include "xbt/dict.h" #include "src/surf/xml/platf_private.hpp" // FIXME: KILLME. There must be a better way than mimicking XML here +#include "xbt/dict.h" +#include "xbt/log.h" +#include "xbt/sysdep.h" +#include XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_deployment, simix, "Logging specific to SIMIX (deployment)"); diff --git a/src/simix/smx_host.cpp b/src/simix/smx_host.cpp index 0f311424b8..989eade224 100644 --- a/src/simix/smx_host.cpp +++ b/src/simix/smx_host.cpp @@ -1,5 +1,4 @@ -/* Copyright (c) 2007-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2007-2016. 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. */ @@ -8,11 +7,8 @@ #include "smx_private.h" #include "src/mc/mc_replay.h" #include "src/plugins/vm/VirtualMachineImpl.hpp" -#include "src/surf/HostImpl.hpp" -#include "xbt/sysdep.h" #include -#include "src/kernel/activity/SynchroExec.hpp" #include "src/kernel/activity/SynchroComm.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_host, simix, "SIMIX hosts"); diff --git a/src/simix/smx_host_private.h b/src/simix/smx_host_private.h index 0db9188999..c4594df501 100644 --- a/src/simix/smx_host_private.h +++ b/src/simix/smx_host_private.h @@ -16,7 +16,6 @@ #include "simgrid/simix.h" #include "popping_private.h" -#include "simgrid/s4u/VirtualMachine.hpp" #include "src/kernel/activity/SynchroExec.hpp" /** @brief Host datatype from SIMIX POV */ diff --git a/src/simix/smx_network_private.h b/src/simix/smx_network_private.h index 51b017684d..157decaa91 100644 --- a/src/simix/smx_network_private.h +++ b/src/simix/smx_network_private.h @@ -7,9 +7,6 @@ #ifndef _SIMIX_NETWORK_PRIVATE_H #define _SIMIX_NETWORK_PRIVATE_H -#include - -#include #include #include diff --git a/src/simix/smx_private.h b/src/simix/smx_private.h index ab1a6dad23..e78326f6a8 100644 --- a/src/simix/smx_private.h +++ b/src/simix/smx_private.h @@ -17,24 +17,13 @@ #include "src/internal_config.h" #include "simgrid/simix.h" #include "surf/surf.h" -#include "xbt/base.h" -#include "xbt/fifo.h" -#include "xbt/swag.h" -#include "xbt/dict.h" -#include "xbt/mallocator.h" #include "xbt/config.h" #include "xbt/xbt_os_time.h" #include "xbt/function_types.h" #include "src/xbt/ex_interface.h" #include "src/instr/instr_private.h" -#include "smx_host_private.h" -#include "smx_io_private.h" -#include "smx_network_private.h" -#include "popping_private.h" -#include "smx_synchro_private.h" #include -#include "src/simix/ActorImpl.hpp" #include "src/kernel/context/Context.hpp" /********************************** Simix Global ******************************/ diff --git a/src/surf/HostImpl.cpp b/src/surf/HostImpl.cpp index 3ffb283519..59f55b00a9 100644 --- a/src/surf/HostImpl.cpp +++ b/src/surf/HostImpl.cpp @@ -3,14 +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 - -#include "src/simix/smx_private.h" -#include "cpu_cas01.hpp" #include "src/surf/HostImpl.hpp" -#include "simgrid/sg_config.h" - -#include "network_interface.hpp" #include "src/plugins/vm/VirtualMachineImpl.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_host, surf, "Logging specific to the SURF host module"); -- 2.20.1