Deleted Added
sdiff udiff text old ( 8260:f113f73dd494 ) new ( 8436:5648986156db )
full compact
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;

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

43 m_nodes = MachineType_base_number(MachineType_NUM);
44 assert(m_nodes != 0);
45
46 assert(m_virtual_networks != 0);
47 assert(m_topology_ptr != NULL);
48
49 // Initialize the controller's network pointers
50 m_topology_ptr->initNetworkPtr(this);
51 p->ruby_system->registerNetwork(this);
52}
53
54void
55Network::init()
56{
57 m_data_msg_size = RubySystem::getBlockSizeBytes() + m_control_msg_size;
58}
59

--- 37 unchanged lines hidden ---