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; --- 66 unchanged lines hidden (view full) --- 75 76 assert(link_bandwidth_multiplier > 0); 77 m_link_bandwidth_multiplier = link_bandwidth_multiplier; 78 m_link_latency = link_latency; 79 m_endpoint_bandwidth = endpoint_bandwidth; 80 81 m_wakeups_wo_switch = 0; 82 |
83 m_link_utilization_proxy = 0; 84} 85 86void 87Throttle::addLinks(const std::vector<MessageBuffer*>& in_vec, 88 const std::vector<MessageBuffer*>& out_vec) 89{ 90 assert(in_vec.size() == out_vec.size()); --- 178 unchanged lines hidden --- |