RubyTester.cc (8232:b28d06a175be) | RubyTester.cc (8832:247fee427324) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31#include "cpu/testers/rubytest/Check.hh" 32#include "cpu/testers/rubytest/RubyTester.hh" 33#include "debug/RubyTest.hh" 34#include "mem/ruby/common/Global.hh" 35#include "mem/ruby/common/SubBlock.hh" 36#include "mem/ruby/eventqueue/RubyEventQueue.hh" 37#include "mem/ruby/system/System.hh" 38#include "sim/sim_exit.hh" | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31#include "cpu/testers/rubytest/Check.hh" 32#include "cpu/testers/rubytest/RubyTester.hh" 33#include "debug/RubyTest.hh" 34#include "mem/ruby/common/Global.hh" 35#include "mem/ruby/common/SubBlock.hh" 36#include "mem/ruby/eventqueue/RubyEventQueue.hh" 37#include "mem/ruby/system/System.hh" 38#include "sim/sim_exit.hh" |
39#include "sim/system.hh" |
|
39 40RubyTester::RubyTester(const Params *p) 41 : MemObject(p), checkStartEvent(this), | 40 41RubyTester::RubyTester(const Params *p) 42 : MemObject(p), checkStartEvent(this), |
43 _masterId(p->system->getMasterId(name())), |
|
42 m_checks_to_complete(p->checks_to_complete), 43 m_deadlock_threshold(p->deadlock_threshold), 44 m_wakeup_frequency(p->wakeup_frequency), 45 m_check_flush(p->check_flush) 46{ 47 m_checks_completed = 0; 48 49 // add the check start event to the event queue --- 148 unchanged lines hidden --- | 44 m_checks_to_complete(p->checks_to_complete), 45 m_deadlock_threshold(p->deadlock_threshold), 46 m_wakeup_frequency(p->wakeup_frequency), 47 m_check_flush(p->check_flush) 48{ 49 m_checks_completed = 0; 50 51 // add the check start event to the event queue --- 148 unchanged lines hidden --- |