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 protected:
105 class CheckStartEvent : public Event
106 {
107 private:
108 RubyTester *tester;
109
110 public:
111 CheckStartEvent(RubyTester *_tester)
112 : Event(CPU_Tick_Pri), tester(_tester)
113 {}
114 void process() { tester->wakeup(); }
115 virtual const char *description() const { return "RubyTester tick"; }
116 };
117
118 CheckStartEvent checkStartEvent;
119
120 private:
121 void hitCallback(NodeID proc, SubBlock* data);
122
123 void checkForDeadlock();
124
125 // Private copy constructor and assignment operator
126 RubyTester(const RubyTester& obj);
127 RubyTester& operator=(const RubyTester& obj);

--- 22 unchanged lines hidden ---