RubyTester.cc (7805:f249937228b5) RubyTester.cc (7823:dac01f14f20f)
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

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

155 if (m_checks_completed < m_checks_to_complete) {
156 // Try to perform an action or check
157 Check* check_ptr = m_checkTable_ptr->getRandomCheck();
158 assert(check_ptr != NULL);
159 check_ptr->initiate();
160
161 checkForDeadlock();
162
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

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

155 if (m_checks_completed < m_checks_to_complete) {
156 // Try to perform an action or check
157 Check* check_ptr = m_checkTable_ptr->getRandomCheck();
158 assert(check_ptr != NULL);
159 check_ptr->initiate();
160
161 checkForDeadlock();
162
163 schedule(checkStartEvent, curTick + m_wakeup_frequency);
163 schedule(checkStartEvent, curTick() + m_wakeup_frequency);
164 } else {
165 exitSimLoop("Ruby Tester completed");
166 }
167}
168
169void
170RubyTester::checkForDeadlock()
171{

--- 24 unchanged lines hidden ---
164 } else {
165 exitSimLoop("Ruby Tester completed");
166 }
167}
168
169void
170RubyTester::checkForDeadlock()
171{

--- 24 unchanged lines hidden ---