SimpleNetwork.hh (10311:ad9c042dce54) | SimpleNetwork.hh (11021:e8a6637afa4c) |
---|---|
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; --- 79 unchanged lines hidden (view full) --- 88 const NetDest& routing_table_entry, int link_latency); 89 void makeTopology(); 90 91 // Private copy constructor and assignment operator 92 SimpleNetwork(const SimpleNetwork& obj); 93 SimpleNetwork& operator=(const SimpleNetwork& obj); 94 95 std::vector<Switch*> m_switches; | 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; --- 79 unchanged lines hidden (view full) --- 88 const NetDest& routing_table_entry, int link_latency); 89 void makeTopology(); 90 91 // Private copy constructor and assignment operator 92 SimpleNetwork(const SimpleNetwork& obj); 93 SimpleNetwork& operator=(const SimpleNetwork& obj); 94 95 std::vector<Switch*> m_switches; |
96 std::vector<MessageBuffer*> m_buffers_to_free; | 96 std::vector<MessageBuffer*> m_int_link_buffers; 97 int m_num_connected_buffers; |
97 std::vector<Switch*> m_endpoint_switches; 98 99 int m_buffer_size; 100 int m_endpoint_bandwidth; 101 bool m_adaptive_routing; 102 103 //Statistical variables 104 Stats::Formula m_msg_counts[MessageSizeType_NUM]; --- 12 unchanged lines hidden --- | 98 std::vector<Switch*> m_endpoint_switches; 99 100 int m_buffer_size; 101 int m_endpoint_bandwidth; 102 bool m_adaptive_routing; 103 104 //Statistical variables 105 Stats::Formula m_msg_counts[MessageSizeType_NUM]; --- 12 unchanged lines hidden --- |