Log In
New Account
  
 
Home My Page Project Tree Code Snippets Project Openings NUTSS
 
 
Summary Tracker Lists CVS Files
 

CVS | Administration

Diff for /libnutss/examples/swp_vl_test between versions 1.4 and 1.5

version 1.4, 2007/06/30 20:57:28 version 1.5, 2007/07/03 04:24:53
Line 16  fi Line 16  fi
 mkdir -p output  mkdir -p output
 rm output/*  rm output/*
   
   echo nodes: $1 > output/param0.txt
   echo peers: $2 > output/param1.txt
   echo time limit: $3 > output/param2.txt
   echo max flow duration: $4 > output/param3.txt
   echo max flow weight: $5 > output/param4.txt
   echo max load: $6 > output/param5.txt
   
   cat output/param* > output/args.txt
   rm output/param*
   
 killall lt-nutssd  killall lt-nutssd
 ./nutssd -stwn -r sip.nutss.net:5060 -p ths1 ths1@nutss.net >output/debug_registrar.txt &  ./nutssd -stwn -r sip.nutss.net:5060 -p ths1 ths1@nutss.net >output/debug_registrar.txt &
   
 for i in $(seq $1); do  for i in $(seq $1); do
       ./slinksvariableload $i $2 $3 `expr $RANDOM % $4 + 1` `expr $RANDOM % $5 + 1` `expr $RANDOM %$6 + 1` &        ./slinksvariableload $i $2 $3 `expr $RANDOM % $4 + 1` `expr $RANDOM % $5 + 1` `expr $RANDOM %\( $6 / 10 \) + $6 + 1` &
 done  done
   
 #export K = `expr $1 + 1`  #export K = `expr $1 + 1`

Removed from v.1.4  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>
 

GForge.cis.cornell.edu is brought to you by

Cornell Computing and Information Science


Powered By GForge Collaborative Development Environment