00001 /*-------------------------------------------------------------------- 00002 * 00003 * (C) Copyright Koninklijke Philips Electronics NV 2006. 00004 * All rights reserved. This software is licensed under the terms of 00005 * version 2.1 of the GNU Lesser General Public License as published 00006 * by the Free Software Foundation. For licensing and warranty 00007 * information, see the file COPYING in the main directory. 00008 * 00009 *------------------------------------------------------------------*/ 00010 00011 #include <sys/types.h> 00012 #include "networkimpl.h" 00013 #include "table.h" 00014 00015 Rte* NetworkImpl::boot = 0; 00016 00017 NetworkImpl::NetworkImpl(const IdBase& n) : 00018 NetworkBase(n), 00019 impl(0) 00020 { 00021 compWorkload = new Table(3, "Computation Workload"); 00022 commWorkload = new Table(9, "Communication Workload"); 00023 } 00024 00025 NetworkImpl::~NetworkImpl() 00026 { 00027 delete compWorkload; 00028 delete commWorkload; 00029 } 00030 00031 rteNetwork* NetworkImpl::rte() 00032 { 00033 return impl; 00034 } 00035 00036 Rte* NetworkImpl::RTE() 00037 { 00038 return boot; 00039 }