RubyTester.hh (8229:78bf55f23338) | RubyTester.hh (8832:247fee427324) |
---|---|
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 | 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; } |
|
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 | 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 |
|
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 --- | 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 --- |