1/* 2 * Copyright (c) 2011 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; --- 65 unchanged lines hidden (view full) --- 74 75void 76AbstractController::profileMsgDelay(uint32_t virtualNetwork, Cycles delay) 77{ 78 assert(virtualNetwork < m_delayVCHistogram.size()); 79 m_delayHistogram.add(delay); 80 m_delayVCHistogram[virtualNetwork].add(delay); 81} |
82 83void 84AbstractController::connectWithPeer(AbstractController *c) 85{ 86 getQueuesFromPeer(c); 87 c->getQueuesFromPeer(this); 88} |