style: [patch 1/22] use /r/3648/ to reorganize includes
This commit is contained in:
@@ -28,10 +28,11 @@
|
||||
* Authors: Nathan Binkert
|
||||
*/
|
||||
|
||||
#include "sim/arguments.hh"
|
||||
|
||||
#include "arch/utility.hh"
|
||||
#include "config/the_isa.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "sim/arguments.hh"
|
||||
|
||||
Arguments::Data::~Data()
|
||||
{
|
||||
|
||||
@@ -37,12 +37,11 @@
|
||||
* Authors: Andreas Sandberg
|
||||
*/
|
||||
|
||||
#include "sim/backtrace.hh"
|
||||
|
||||
#include <execinfo.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "base/atomicio.hh"
|
||||
#include "sim/backtrace.hh"
|
||||
|
||||
#define SAFE_MSG(m) \
|
||||
do { \
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
* Stephan Diestelhorst
|
||||
*/
|
||||
|
||||
#include "sim/clock_domain.hh"
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
||||
@@ -49,9 +51,8 @@
|
||||
#include "params/ClockDomain.hh"
|
||||
#include "params/DerivedClockDomain.hh"
|
||||
#include "params/SrcClockDomain.hh"
|
||||
#include "sim/clock_domain.hh"
|
||||
#include "sim/voltage_domain.hh"
|
||||
#include "sim/clocked_object.hh"
|
||||
#include "sim/voltage_domain.hh"
|
||||
|
||||
void
|
||||
ClockDomain::regStats()
|
||||
|
||||
@@ -31,12 +31,13 @@
|
||||
* Steve Reinhardt
|
||||
*/
|
||||
|
||||
#include "sim/core.hh"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
#include "base/callback.hh"
|
||||
#include "base/output.hh"
|
||||
#include "sim/core.hh"
|
||||
#include "sim/eventq.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -37,13 +37,14 @@
|
||||
* Authors: Andrew Bardsley
|
||||
*/
|
||||
|
||||
#include "sim/cxx_manager.hh"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <sstream>
|
||||
|
||||
#include "base/str.hh"
|
||||
#include "debug/CxxConfig.hh"
|
||||
#include "mem/mem_object.hh"
|
||||
#include "sim/cxx_manager.hh"
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
CxxConfigManager::CxxConfigManager(CxxConfigFileBase &configFile_) :
|
||||
|
||||
@@ -29,16 +29,17 @@
|
||||
* Steve Reinhardt
|
||||
*/
|
||||
|
||||
#include "sim/debug.hh"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/debug.hh"
|
||||
#include "sim/debug.hh"
|
||||
#include "cpu/pc_event.hh"
|
||||
#include "sim/eventq_impl.hh"
|
||||
#include "sim/global_event.hh"
|
||||
#include "sim/sim_events.hh"
|
||||
#include "sim/sim_exit.hh"
|
||||
#include "cpu/pc_event.hh"
|
||||
#include "sim/system.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -39,6 +39,8 @@
|
||||
* Stephan Diestelhorst
|
||||
*/
|
||||
|
||||
#include "sim/dvfs_handler.hh"
|
||||
|
||||
#include <set>
|
||||
#include <utility>
|
||||
|
||||
@@ -46,7 +48,6 @@
|
||||
#include "debug/DVFS.hh"
|
||||
#include "params/DVFSHandler.hh"
|
||||
#include "sim/clock_domain.hh"
|
||||
#include "sim/dvfs_handler.hh"
|
||||
#include "sim/stat_control.hh"
|
||||
#include "sim/voltage_domain.hh"
|
||||
|
||||
|
||||
@@ -29,13 +29,14 @@
|
||||
* Gabe Black
|
||||
*/
|
||||
|
||||
#include "sim/faults.hh"
|
||||
|
||||
#include "arch/isa_traits.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "cpu/base.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "debug/Fault.hh"
|
||||
#include "mem/page_table.hh"
|
||||
#include "sim/faults.hh"
|
||||
#include "sim/full_system.hh"
|
||||
#include "sim/process.hh"
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@
|
||||
* Authors: Nathan Binkert
|
||||
*/
|
||||
|
||||
#include "sim/init.hh"
|
||||
|
||||
#include <Python.h>
|
||||
|
||||
#include <marshal.h>
|
||||
@@ -56,10 +58,10 @@
|
||||
#include "config/have_protobuf.hh"
|
||||
#include "sim/async.hh"
|
||||
#include "sim/core.hh"
|
||||
#include "sim/init.hh"
|
||||
|
||||
#if HAVE_PROTOBUF
|
||||
#include <google/protobuf/stubs/common.h>
|
||||
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -37,9 +37,10 @@
|
||||
* Authors: Matt Horsnell
|
||||
*/
|
||||
|
||||
#include "debug/ProbeVerbose.hh"
|
||||
#include "sim/probe/probe.hh"
|
||||
|
||||
#include "debug/ProbeVerbose.hh"
|
||||
|
||||
ProbePoint::ProbePoint(ProbeManager *manager, const std::string& _name)
|
||||
: name(_name)
|
||||
{
|
||||
|
||||
@@ -43,6 +43,8 @@
|
||||
* Ali Saidi
|
||||
*/
|
||||
|
||||
#include "sim/process.hh"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -50,19 +52,18 @@
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include "base/intmath.hh"
|
||||
#include "base/loader/object_file.hh"
|
||||
#include "base/loader/symtab.hh"
|
||||
#include "base/intmath.hh"
|
||||
#include "base/statistics.hh"
|
||||
#include "config/the_isa.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "mem/page_table.hh"
|
||||
#include "mem/multi_level_page_table.hh"
|
||||
#include "mem/page_table.hh"
|
||||
#include "mem/se_translating_port_proxy.hh"
|
||||
#include "params/LiveProcess.hh"
|
||||
#include "params/Process.hh"
|
||||
#include "sim/debug.hh"
|
||||
#include "sim/process.hh"
|
||||
#include "sim/process_impl.hh"
|
||||
#include "sim/stats.hh"
|
||||
#include "sim/syscall_emul.hh"
|
||||
|
||||
@@ -41,6 +41,8 @@
|
||||
* Authors: Nathan Binkert
|
||||
*/
|
||||
|
||||
#include "sim/pseudo_inst.hh"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -50,9 +52,9 @@
|
||||
#include <vector>
|
||||
|
||||
#include "arch/kernel_stats.hh"
|
||||
#include "arch/pseudo_inst.hh"
|
||||
#include "arch/utility.hh"
|
||||
#include "arch/vtophys.hh"
|
||||
#include "arch/pseudo_inst.hh"
|
||||
#include "base/debug.hh"
|
||||
#include "base/output.hh"
|
||||
#include "config/the_isa.hh"
|
||||
@@ -68,7 +70,6 @@
|
||||
#include "sim/full_system.hh"
|
||||
#include "sim/initparam_keys.hh"
|
||||
#include "sim/process.hh"
|
||||
#include "sim/pseudo_inst.hh"
|
||||
#include "sim/serialize.hh"
|
||||
#include "sim/sim_events.hh"
|
||||
#include "sim/sim_exit.hh"
|
||||
|
||||
@@ -29,10 +29,10 @@
|
||||
* Steve Reinhardt
|
||||
*/
|
||||
|
||||
#include <Python.h>
|
||||
|
||||
#include "sim/py_interact.hh"
|
||||
|
||||
#include <Python.h>
|
||||
|
||||
void
|
||||
py_interact()
|
||||
{
|
||||
|
||||
@@ -31,12 +31,13 @@
|
||||
* Gabe Black
|
||||
*/
|
||||
|
||||
#include "sim/root.hh"
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "config/the_isa.hh"
|
||||
#include "debug/TimeSync.hh"
|
||||
#include "sim/full_system.hh"
|
||||
#include "sim/root.hh"
|
||||
|
||||
Root *Root::_root = NULL;
|
||||
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
* Andreas Sandberg
|
||||
*/
|
||||
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
@@ -63,7 +65,6 @@
|
||||
#include "base/trace.hh"
|
||||
#include "debug/Checkpoint.hh"
|
||||
#include "sim/eventq.hh"
|
||||
#include "sim/serialize.hh"
|
||||
#include "sim/sim_events.hh"
|
||||
#include "sim/sim_exit.hh"
|
||||
#include "sim/sim_object.hh"
|
||||
|
||||
@@ -42,12 +42,13 @@
|
||||
* Authors: Nathan Binkert
|
||||
*/
|
||||
|
||||
#include "sim/sim_events.hh"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/callback.hh"
|
||||
#include "base/hostinfo.hh"
|
||||
#include "sim/eventq_impl.hh"
|
||||
#include "sim/sim_events.hh"
|
||||
#include "sim/sim_exit.hh"
|
||||
#include "sim/stats.hh"
|
||||
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
* Nathan Binkert
|
||||
*/
|
||||
|
||||
#include "sim/sim_object.hh"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include "base/callback.hh"
|
||||
@@ -40,7 +42,6 @@
|
||||
#include "base/types.hh"
|
||||
#include "debug/Checkpoint.hh"
|
||||
#include "sim/probe/probe.hh"
|
||||
#include "sim/sim_object.hh"
|
||||
#include "sim/stats.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
* Steve Reinhardt
|
||||
*/
|
||||
|
||||
#include "sim/simulate.hh"
|
||||
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
|
||||
@@ -41,7 +43,6 @@
|
||||
#include "sim/eventq_impl.hh"
|
||||
#include "sim/sim_events.hh"
|
||||
#include "sim/sim_exit.hh"
|
||||
#include "sim/simulate.hh"
|
||||
#include "sim/stat_control.hh"
|
||||
|
||||
//! Mutex for handling async events.
|
||||
|
||||
@@ -46,6 +46,8 @@
|
||||
// This file will contain default statistics for the simulator that
|
||||
// don't really belong to a specific simulator object
|
||||
|
||||
#include "sim/stat_control.hh"
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <list>
|
||||
@@ -56,7 +58,6 @@
|
||||
#include "base/time.hh"
|
||||
#include "cpu/base.hh"
|
||||
#include "sim/global_event.hh"
|
||||
#include "sim/stat_control.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -44,6 +44,9 @@
|
||||
#ifndef __SIM_STAT_CONTROL_HH__
|
||||
#define __SIM_STAT_CONTROL_HH__
|
||||
|
||||
#include "base/types.hh"
|
||||
#include "sim/core.hh"
|
||||
|
||||
namespace Stats {
|
||||
|
||||
double statElapsedTime();
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
#include "sim/sub_system.hh"
|
||||
|
||||
#include "params/SubSystem.hh"
|
||||
#include "sim/sub_system.hh"
|
||||
#include "sim/power/power_model.hh"
|
||||
#include "sim/power/thermal_domain.hh"
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
* Ali Saidi
|
||||
*/
|
||||
|
||||
#include "sim/syscall_emul.hh"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -47,7 +49,6 @@
|
||||
#include "mem/page_table.hh"
|
||||
#include "sim/process.hh"
|
||||
#include "sim/sim_exit.hh"
|
||||
#include "sim/syscall_emul.hh"
|
||||
#include "sim/system.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
* Rick Strong
|
||||
*/
|
||||
|
||||
#include "sim/system.hh"
|
||||
|
||||
#include "arch/remote_gdb.hh"
|
||||
#include "arch/utility.hh"
|
||||
#include "base/loader/object_file.hh"
|
||||
@@ -60,7 +62,6 @@
|
||||
#include "sim/byteswap.hh"
|
||||
#include "sim/debug.hh"
|
||||
#include "sim/full_system.hh"
|
||||
#include "sim/system.hh"
|
||||
|
||||
/**
|
||||
* To avoid linking errors with LTO, only include the header if we
|
||||
@@ -68,6 +69,7 @@
|
||||
*/
|
||||
#if THE_ISA != NULL_ISA
|
||||
#include "kern/kernel_stats.hh"
|
||||
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -38,13 +38,14 @@
|
||||
* Akash Bagdia
|
||||
*/
|
||||
|
||||
#include "sim/voltage_domain.hh"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "base/statistics.hh"
|
||||
#include "debug/VoltageDomain.hh"
|
||||
#include "params/VoltageDomain.hh"
|
||||
#include "sim/sim_object.hh"
|
||||
#include "sim/voltage_domain.hh"
|
||||
|
||||
VoltageDomain::VoltageDomain(const Params *p)
|
||||
: SimObject(p), voltageOpPoints(p->voltage), _perfLevel(0)
|
||||
|
||||
Reference in New Issue
Block a user