drampower.cc (11793:ef606668d247) drampower.cc (12637:bfc3cb9c7e6c)
1/*
2 * Copyright (c) 2014 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 28 unchanged lines hidden (view full) ---

37 * Authors: Omar Naji
38 */
39
40#include "mem/drampower.hh"
41
42#include "base/intmath.hh"
43#include "sim/core.hh"
44
1/*
2 * Copyright (c) 2014 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 28 unchanged lines hidden (view full) ---

37 * Authors: Omar Naji
38 */
39
40#include "mem/drampower.hh"
41
42#include "base/intmath.hh"
43#include "sim/core.hh"
44
45using namespace Data;
46
47DRAMPower::DRAMPower(const DRAMCtrlParams* p, bool include_io) :
48 powerlib(libDRAMPower(getMemSpec(p), include_io))
49{
50}
51
52Data::MemArchitectureSpec
53DRAMPower::getArchParams(const DRAMCtrlParams* p)
54{

--- 109 unchanged lines hidden ---
45DRAMPower::DRAMPower(const DRAMCtrlParams* p, bool include_io) :
46 powerlib(libDRAMPower(getMemSpec(p), include_io))
47{
48}
49
50Data::MemArchitectureSpec
51DRAMPower::getArchParams(const DRAMCtrlParams* p)
52{

--- 109 unchanged lines hidden ---