Commit 592070a8 authored by uahhx's avatar uahhx

modified packetLatency to a sensible value

parent 91e270c3
......@@ -12,7 +12,7 @@ public class FunnelNet {
private Strategy strategy;
private int cycleCounter = 0;
public final int packetLatency = 70000; //in ns
public final int packetLatency = 56; //in ns
public final int realTimeConstraint = 10000; //RTC in ns
public final int nodeClock = 125; //node Clockspeed in MHz
......@@ -22,7 +22,7 @@ public class FunnelNet {
//public static final int dataWidth = 64/8; //dataWidth in number of segments per transmission. this should be a round number even if it wasn't forced by type.
private final int minBufferSize = packetCycleLatency *3 + 1; //todo: check that it's not actually "packetLatency*2 + 1"
private final int minBufferSize = packetCycleLatency *3 + 1; //todo: check that it's not actually "packetLatency*2 + 1" edit: yea, this should be packetlatency*2. not even certain it needs +1
public static final int bufferSize = 22; //max # of packets per buffer
//public static final int bufferSize = 4 + minBufferSize; //max # of packets per buffer
//public static final int bufferSize = 2*minBufferSize; //max # of packets per buffer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment