RubyTester.cc (11800:54436a1784dc) RubyTester.cc (12129:879f7ad9e246)
1/*
2 * Copyright (c) 2012-2013 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

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

45#include "base/trace.hh"
46#include "cpu/testers/rubytest/Check.hh"
47#include "debug/RubyTest.hh"
48#include "mem/ruby/common/SubBlock.hh"
49#include "sim/sim_exit.hh"
50#include "sim/system.hh"
51
52RubyTester::RubyTester(const Params *p)
1/*
2 * Copyright (c) 2012-2013 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

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

45#include "base/trace.hh"
46#include "cpu/testers/rubytest/Check.hh"
47#include "debug/RubyTest.hh"
48#include "mem/ruby/common/SubBlock.hh"
49#include "sim/sim_exit.hh"
50#include "sim/system.hh"
51
52RubyTester::RubyTester(const Params *p)
53 : MemObject(p), checkStartEvent(this),
53 : MemObject(p),
54 checkStartEvent([this]{ wakeup(); }, "RubyTester tick",
55 false, Event::CPU_Tick_Pri),
54 _masterId(p->system->getMasterId(name())),
55 m_checkTable_ptr(nullptr),
56 m_num_cpus(p->num_cpus),
57 m_checks_to_complete(p->checks_to_complete),
58 m_deadlock_threshold(p->deadlock_threshold),
59 m_num_writers(0),
60 m_num_readers(0),
61 m_wakeup_frequency(p->wakeup_frequency),

--- 224 unchanged lines hidden ---
56 _masterId(p->system->getMasterId(name())),
57 m_checkTable_ptr(nullptr),
58 m_num_cpus(p->num_cpus),
59 m_checks_to_complete(p->checks_to_complete),
60 m_deadlock_threshold(p->deadlock_threshold),
61 m_num_writers(0),
62 m_num_readers(0),
63 m_wakeup_frequency(p->wakeup_frequency),

--- 224 unchanged lines hidden ---