RubyTester.cc (12334:e0ab29a34764) RubyTester.cc (12680:91f4d6668b4f)
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

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

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),
54 checkStartEvent([this]{ wakeup(); }, "RubyTester tick",
55 false, Event::CPU_Tick_Pri),
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

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

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),
54 checkStartEvent([this]{ wakeup(); }, "RubyTester tick",
55 false, Event::CPU_Tick_Pri),
56 _masterId(p->system->getMasterId(name())),
56 _masterId(p->system->getMasterId(this)),
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),
64 m_check_flush(p->check_flush),

--- 223 unchanged lines hidden ---
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),
64 m_check_flush(p->check_flush),

--- 223 unchanged lines hidden ---