3 # Copyright: Calin-Andrei Burloiu, 2010, calin.burloiu@gmail.com
5 # This script calculates the download time and the average download speed for an entire swarm, printed in this order and taking as input the directory where the peers' *.log.data file are located. Requires script avg2 and get_time_dl_speed_avg.
16 for i in $(find $path -mindepth 1 -maxdepth 1 -name '*.log.data'); do
17 (./get_time_dl_speed_avg < "$i") >> temp1987