diff options
author | Korey Sewell <ksewell@umich.edu> | 2010-03-23 00:29:10 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2010-03-23 00:29:10 -0400 |
commit | d484e1b334c6fd3f2721a2a4628c2324ed14fd08 (patch) | |
tree | c95594df5ecae29b11262967f3f8b99fca82ca5d /src/mem/ruby/common/Driver.cc | |
parent | 70308bc835035b940efb36d7f335643dfaa39851 (diff) | |
parent | a0651b8f6127c8b7994a165b525e93d87c470d20 (diff) | |
download | gem5-d484e1b334c6fd3f2721a2a4628c2324ed14fd08.tar.xz |
m5merge(2): another merge of regression stats
Diffstat (limited to 'src/mem/ruby/common/Driver.cc')
-rw-r--r-- | src/mem/ruby/common/Driver.cc | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/src/mem/ruby/common/Driver.cc b/src/mem/ruby/common/Driver.cc index 2d6034b02..085044c7d 100644 --- a/src/mem/ruby/common/Driver.cc +++ b/src/mem/ruby/common/Driver.cc @@ -1,4 +1,3 @@ - /* * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood * All rights reserved. @@ -27,6 +26,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include <cassert> + #include "mem/ruby/common/Driver.hh" Driver::Driver() @@ -37,3 +38,40 @@ Driver::Driver() Driver::~Driver() { } + +integer_t +Driver::getInstructionCount(int procID) const +{ + return 1; +} + +integer_t +Driver::getCycleCount(int procID) const +{ + return 1; +} + +void +Driver::addThreadDependency(int procID, int requestor_thread, + int conflict_thread) const +{ + assert(0); +} + +void +Driver::printDebug() +{} + +integer_t +Driver::readPhysicalMemory(int procID, physical_address_t address, int len) +{ + assert(0); + return 0; +} + +void +Driver::writePhysicalMemory(int procID, physical_address_t address, + integer_t value, int len) +{ + assert(0); +} |