1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 2# Copyright (c) 2009 The Hewlett-Packard Development Company 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 1033 unchanged lines hidden (view full) --- 1042 while (true) { 1043 // Some cases will put us into an infinite loop without this limit 1044 assert(counter <= m_transitions_per_cycle); 1045 if (counter == m_transitions_per_cycle) { 1046 // Count how often we are fully utilized 1047 g_system_ptr->getProfiler()->controllerBusy(m_machineID); 1048 1049 // Wakeup in another cycle and try again |
1050 scheduleEvent(1); |
1051 break; 1052 } 1053''') 1054 1055 code.indent() 1056 code.indent() 1057 1058 # InPorts --- 656 unchanged lines hidden --- |