PerfectSwitch.cc (9465:4ae4f3f4b870) PerfectSwitch.cc (9499:b03b556a8fbb)
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
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;

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

262 enough = false;
263 DPRINTF(RubyNetwork, "Checking if node is blocked ..."
264 "outgoing: %d, vnet: %d, enough: %d\n",
265 outgoing, vnet, enough);
266 }
267
268 // There were not enough resources
269 if (!enough) {
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
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;

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

262 enough = false;
263 DPRINTF(RubyNetwork, "Checking if node is blocked ..."
264 "outgoing: %d, vnet: %d, enough: %d\n",
265 outgoing, vnet, enough);
266 }
267
268 // There were not enough resources
269 if (!enough) {
270 scheduleEvent(1);
270 scheduleEvent(Cycles(1));
271 DPRINTF(RubyNetwork, "Can't deliver message since a node "
272 "is blocked\n");
273 DPRINTF(RubyNetwork, "Message: %s\n", (*net_msg_ptr));
274 break; // go to next incoming port
275 }
276
277 MsgPtr unmodified_msg_ptr;
278

--- 69 unchanged lines hidden ---
271 DPRINTF(RubyNetwork, "Can't deliver message since a node "
272 "is blocked\n");
273 DPRINTF(RubyNetwork, "Message: %s\n", (*net_msg_ptr));
274 break; // go to next incoming port
275 }
276
277 MsgPtr unmodified_msg_ptr;
278

--- 69 unchanged lines hidden ---