From: <bro...@us...> - 2008-02-19 00:34:06
|
Revision: 108 http://gridsim.svn.sourceforge.net/gridsim/?rev=108&view=rev Author: brobergj Date: 2008-02-18 16:34:06 -0800 (Mon, 18 Feb 2008) Log Message: ----------- *Added tags required for GridSim flow implementation Modified Paths: -------------- branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java Modified: branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java =================================================================== --- branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java 2008-02-19 00:31:31 UTC (rev 107) +++ branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java 2008-02-19 00:34:06 UTC (rev 108) @@ -33,23 +33,35 @@ // TODO: new additions public static final int NET_PACKET_LEVEL = NETBASE + 11; - // TODO: NET_FLOW_LEVEL should default to NET_FLOW_LEVEL_INV_RTT_BOUND + public static final int NET_FLOW_LEVEL = NETBASE + 12; - public static final int NET_BUFFER_PACKET_LEVEL = NETBASE + 13; - // TODO: different flow sharing models + // Denotes flow en-route to destination + public static final int FLOW_SUBMIT = NETBASE + 13; + + // Denotes flow acknowledgement en-route to source + public static final int FLOW_RETURN = NETBASE + 14; + + // Internal message to check forecast of flow duration + public static final int FLOW_HOLD = NETBASE + 15; + + // Message to update forecast of flow duration + public static final int FLOW_UPDATE = NETBASE + 16; + + public static final int NET_BUFFER_PACKET_LEVEL = NETBASE + 17; + + // TODO: different flow sharing models - not sure if I will need these // INV-LAT flows are weighted proportionally to the bottleneck latency - public static final int NET_FLOW_LEVEL_INV_LAT = NETBASE + 14; + // public static final int NET_FLOW_LEVEL_INV_LAT = NETBASE + 15; // INV-LAT-BOUND flows are weighted proportionally to the bottleneck latency // with bounded bandwidth availability - public static final int NET_FLOW_LEVEL_INV_LAT_BOUND = NETBASE + 15; // INV-RTT flows are weighted proportionally to the bottleneck RTT - public static final int NET_FLOW_LEVEL_INV_RTT = NETBASE + 16; + // public static final int NET_FLOW_LEVEL_INV_RTT = NETBASE + 16; // INV-RTT flows are weighted proportionally to the bottleneck RTT // with bounded bandwidth availability - public static final int NET_FLOW_LEVEL_INV_RTT_BOUND = NETBASE + 17; + // public static final int NET_FLOW_LEVEL_INV_RTT_BOUND = NETBASE + 17; // MAX-MIN flows are equally weighted so all flows get equal share - public static final int NET_FLOW_LEVEL_MAX_MIN = NETBASE + 18; + // public static final int NET_FLOW_LEVEL_MAX_MIN = NETBASE + 18; ////////////////////////////////////////////////////////////////////// @@ -192,6 +204,7 @@ * {@link gridsim.net.Output} entities. */ public static final int EMPTY_PKT = NETBASE + 8; + /** Denotes that this packet will be sent to a packet scheduler by a router * for enqueing. @@ -207,7 +220,6 @@ */ public static final int SCHEDULER_DEQUE = NETBASE + 10; - ///////////////////////////////////////////////////////////// // I intentionally put a gap to incorporate future tags // so I don't have to change the numbers! This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |