BasicLink.hh (8257:7226aebb77b4) | BasicLink.hh (8258:7c377f5162f8) |
---|---|
1/* 2 * Copyright (c) 2011 Advanced Micro Devices, Inc. 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; --- 39 unchanged lines hidden (view full) --- 48 BasicLink(const Params *p); 49 const Params *params() const { return (const Params *)_params; } 50 51 void init(); 52 53 void print(std::ostream& out) const; 54 55 int m_latency; | 1/* 2 * Copyright (c) 2011 Advanced Micro Devices, Inc. 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; --- 39 unchanged lines hidden (view full) --- 48 BasicLink(const Params *p); 49 const Params *params() const { return (const Params *)_params; } 50 51 void init(); 52 53 void print(std::ostream& out) const; 54 55 int m_latency; |
56 int m_bw_multiplier; | 56 int m_bandwidth_factor; |
57 int m_weight; 58}; 59 60inline std::ostream& 61operator<<(std::ostream& out, const BasicLink& obj) 62{ 63 obj.print(out); 64 out << std::flush; --- 32 unchanged lines hidden --- | 57 int m_weight; 58}; 59 60inline std::ostream& 61operator<<(std::ostream& out, const BasicLink& obj) 62{ 63 obj.print(out); 64 out << std::flush; --- 32 unchanged lines hidden --- |