From: <bro...@us...> - 2008-03-13 05:15:18
|
Revision: 155 http://gridsim.svn.sourceforge.net/gridsim/?rev=155&view=rev Author: brobergj Date: 2008-03-12 22:15:21 -0700 (Wed, 12 Mar 2008) Log Message: ----------- Consolidation / tidy up of tags needed by Flow model 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-03-13 05:10:26 UTC (rev 154) +++ branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java 2008-03-13 05:15:21 UTC (rev 155) @@ -31,37 +31,39 @@ // starting constant value for AR-related tags (also negative numbers) private static final int ARBASE = 200; - // TODO: new additions public static final int NET_PACKET_LEVEL = NETBASE + 11; public static final int NET_FLOW_LEVEL = NETBASE + 12; - // Denotes flow en-route to destination - public static final int FLOW_SUBMIT = NETBASE + 13; + // Denotes flow en-route to destination (used manually by entities) + 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; + public static final int FLOW_HOLD = NETBASE + 14; // Message to update forecast of flow duration - public static final int FLOW_UPDATE = NETBASE + 16; + public static final int FLOW_UPDATE = NETBASE + 15; + + // Denotes flow ack en-route to destination (used manually by entities) + public static final int FLOW_ACK = NETBASE + 16; + + // identify a flow as a junk flow used for background traffic + // public static final int JUNK_FLOW = NETBASE + 17; - public static final int NET_BUFFER_PACKET_LEVEL = NETBASE + 17; + public static final int NET_BUFFER_PACKET_LEVEL = NETBASE + 18; // 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 + 15; + // public static final int NET_FLOW_LEVEL_INV_LAT = NETBASE + x; // INV-LAT-BOUND flows are weighted proportionally to the bottleneck latency // with bounded bandwidth availability // 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 + x; // 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 + x; // 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 + x; ////////////////////////////////////////////////////////////////////// @@ -810,6 +812,7 @@ */ public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_45_HOURS = -28; + /////////////////////////////////////////////////////////////// /** Private Constructor */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |