diff options
author | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:37 -0600 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:37 -0600 |
commit | 7a8dda49a4ec33be17bbd101ebd68e02562b9c3d (patch) | |
tree | 98b3bb80b66ebe424af78671c604bf0483f3db2d /src/mem/ruby/common | |
parent | 63bb17e4bd1d37aa22a87a9614957ce1302f95a9 (diff) | |
download | gem5-7a8dda49a4ec33be17bbd101ebd68e02562b9c3d.tar.xz |
style: [patch 1/22] use /r/3648/ to reorganize includes
Diffstat (limited to 'src/mem/ruby/common')
-rw-r--r-- | src/mem/ruby/common/Histogram.cc | 3 | ||||
-rw-r--r-- | src/mem/ruby/common/NetDest.cc | 4 | ||||
-rw-r--r-- | src/mem/ruby/common/SubBlock.cc | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/src/mem/ruby/common/Histogram.cc b/src/mem/ruby/common/Histogram.cc index 31de160cf..209802bf1 100644 --- a/src/mem/ruby/common/Histogram.cc +++ b/src/mem/ruby/common/Histogram.cc @@ -26,11 +26,12 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "mem/ruby/common/Histogram.hh" + #include <cmath> #include <iomanip> #include "base/intmath.hh" -#include "mem/ruby/common/Histogram.hh" using namespace std; diff --git a/src/mem/ruby/common/NetDest.cc b/src/mem/ruby/common/NetDest.cc index 0a89bda53..3a28646f3 100644 --- a/src/mem/ruby/common/NetDest.cc +++ b/src/mem/ruby/common/NetDest.cc @@ -26,10 +26,10 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <algorithm> - #include "mem/ruby/common/NetDest.hh" +#include <algorithm> + NetDest::NetDest() { resize(); diff --git a/src/mem/ruby/common/SubBlock.cc b/src/mem/ruby/common/SubBlock.cc index 5175cb950..98fec99a2 100644 --- a/src/mem/ruby/common/SubBlock.cc +++ b/src/mem/ruby/common/SubBlock.cc @@ -26,9 +26,10 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "base/stl_helpers.hh" #include "mem/ruby/common/SubBlock.hh" +#include "base/stl_helpers.hh" + using m5::stl_helpers::operator<<; SubBlock::SubBlock(Addr addr, int size) |