RubyTester.hh (11266:452e10b868ea) RubyTester.hh (12129:879f7ad9e246)
1/*
2 * Copyright (c) 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

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

113 void clearStats() {}
114 void printConfig(std::ostream& out) const {}
115
116 void print(std::ostream& out) const;
117 bool getCheckFlush() { return m_check_flush; }
118
119 MasterID masterId() { return _masterId; }
120 protected:
1/*
2 * Copyright (c) 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

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

113 void clearStats() {}
114 void printConfig(std::ostream& out) const {}
115
116 void print(std::ostream& out) const;
117 bool getCheckFlush() { return m_check_flush; }
118
119 MasterID masterId() { return _masterId; }
120 protected:
121 class CheckStartEvent : public Event
122 {
123 private:
124 RubyTester *tester;
121 EventFunctionWrapper checkStartEvent;
125
122
126 public:
127 CheckStartEvent(RubyTester *_tester)
128 : Event(CPU_Tick_Pri), tester(_tester)
129 {}
130 void process() { tester->wakeup(); }
131 virtual const char *description() const { return "RubyTester tick"; }
132 };
133
134 CheckStartEvent checkStartEvent;
135
136 MasterID _masterId;
137
138 private:
139 void hitCallback(NodeID proc, SubBlock* data);
140
141 void checkForDeadlock();
142
143 // Private copy constructor and assignment operator

--- 29 unchanged lines hidden ---
123 MasterID _masterId;
124
125 private:
126 void hitCallback(NodeID proc, SubBlock* data);
127
128 void checkForDeadlock();
129
130 // Private copy constructor and assignment operator

--- 29 unchanged lines hidden ---