Deleted Added
sdiff udiff text old ( 8229:78bf55f23338 ) new ( 8832:247fee427324 )
full compact
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

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

96
97 void printStats(std::ostream& out) const {}
98 void clearStats() {}
99 void printConfig(std::ostream& out) const {}
100
101 void print(std::ostream& out) const;
102 bool getCheckFlush() { return m_check_flush; }
103
104 MasterID masterId() { return _masterId; }
105 protected:
106 class CheckStartEvent : public Event
107 {
108 private:
109 RubyTester *tester;
110
111 public:
112 CheckStartEvent(RubyTester *_tester)
113 : Event(CPU_Tick_Pri), tester(_tester)
114 {}
115 void process() { tester->wakeup(); }
116 virtual const char *description() const { return "RubyTester tick"; }
117 };
118
119 CheckStartEvent checkStartEvent;
120
121 MasterID _masterId;
122
123 private:
124 void hitCallback(NodeID proc, SubBlock* data);
125
126 void checkForDeadlock();
127
128 // Private copy constructor and assignment operator
129 RubyTester(const RubyTester& obj);
130 RubyTester& operator=(const RubyTester& obj);

--- 22 unchanged lines hidden ---