Skip to content

Commit

Permalink
Spelling mistake causing one file not to generate pcaps
Browse files Browse the repository at this point in the history
  • Loading branch information
charliebarber committed Apr 6, 2024
1 parent a5cdda4 commit eb8f608
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rm -rf traces/
mkdir traces

cp user_src/* scratch/
export NS_LOG=FRRQueue=level_all
# export NS_LOG=FRRQueue=level_all

cp ./run_ns3.sh ./.

Expand Down
8 changes: 4 additions & 4 deletions run_ns3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ run_experiment() {
mkdir -p "$dir/baseline-udp/"
mkdir -p "$dir/baseline-no-udp/"

./ns3 run "scratch/combined-frr.cc --$test_variable=$test_value --policy_threshold=$policy_threshold --dir=$dir/frr/"
./ns3 run "scratch/combined-frr-no-udp.cc --$test_variable=$test_value --policy_threshold=$policy_threshold --dir=$dir/frr-no-udp/"
./ns3 run "scratch/combined-baseline-udp.cc --$test_vaiable=$test_value --policy_threshold=$policy_threshold --dir=$dir/baseline-udp/"
./ns3 run "scratch/combined-baseline-no-udp.cc --$test_variable=$test_value --policy_threshold=$policy_threshold --dir=$dir/baseline-no-udp/"
NS_LOG="" ./ns3 run "scratch/combined-frr.cc --$test_variable=$test_value --policy_threshold=$policy_threshold --dir=$dir/frr/"
NS_LOG="" ./ns3 run "scratch/combined-frr-no-udp.cc --$test_variable=$test_value --policy_threshold=$policy_threshold --dir=$dir/frr-no-udp/"
NS_LOG="" ./ns3 run "scratch/combined-baseline-udp.cc --$test_variable=$test_value --policy_threshold=$policy_threshold --dir=$dir/baseline-udp/"
NS_LOG="" ./ns3 run "scratch/combined-baseline-no-udp.cc --$test_variable=$test_value --policy_threshold=$policy_threshold --dir=$dir/baseline-no-udp/"
}

# Delay primary experiments
Expand Down
2 changes: 1 addition & 1 deletion src/combined-frr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int main(int argc, char* argv[])
BasicCongestionPolicy::usage_percentage = cong_threshold;

// LogComponentEnable("FRRQueue", LOG_LEVEL_ERROR);
// LogComponentEnableAll(LOG_LEVEL_ERROR);
LogComponentEnableAll(LOG_LEVEL_ERROR);
/*
* +----------+ +-----------+
* |Congestion| | Traffic |
Expand Down

0 comments on commit eb8f608

Please sign in to comment.