Skip to content

Commit

Permalink
flow: Disabled packetEvent measurement by default because it's too ex…
Browse files Browse the repository at this point in the history
…pensive.
  • Loading branch information
levy committed Nov 21, 2023
1 parent 156c07a commit cbfbe33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/inet/queueing/flow/FlowMeasurementRecorder.ned
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ simple FlowMeasurementRecorder extends PacketFlowBase like IPacketFlow
int offset @unit(b) = default(0b); // designates the packet part to be measured
int length @unit(b) = default(-1b); // designates the packet part to be measured
string flowName = default(""); // use packet flow to separate measurement from other measurements
string measure = default("*"); // match expression for a combination of: packetEvent, elapsedTime, delayingTime, queueingTime, processingTime, transmissionTime, propagationTime
string measure = default("not packetEvent"); // match expression for a combination of: packetEvent, elapsedTime, delayingTime, queueingTime, processingTime, transmissionTime, propagationTime
bool endMeasurement = default(true);
string packetEventFileName = default("results/" + expand("${configname}-") + fullPath() + "-packetEvent.json");
@class(FlowMeasurementRecorder);
Expand Down
2 changes: 1 addition & 1 deletion src/inet/queueing/flow/FlowMeasurementStarter.ned
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ simple FlowMeasurementStarter extends PacketFlowBase like IPacketFlow
int offset @unit(b) = default(0b); // designates the packet part to be measured
int length @unit(b) = default(-1b); // designates the packet part to be measured
string flowName = default(""); // use packet flow to separate measurement from other measurements
string measure = default("*"); // match expression for a combination of: packetEvent, elapsedTime, delayingTime, queueingTime, processingTime, transmissionTime, propagationTime
string measure = default("not packetEvent"); // match expression for a combination of: packetEvent, elapsedTime, delayingTime, queueingTime, processingTime, transmissionTime, propagationTime
@class(FlowMeasurementStarter);
@display("i=block/timer");
@signal[packetFlowStarted](type=inet::Packet);
Expand Down

0 comments on commit cbfbe33

Please sign in to comment.