Skip to content

Commit

Permalink
reverting tripelets.sh to previous form with the sleep provision
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant-sachdeva committed Jul 9, 2023
1 parent e41e1d4 commit 442560c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions seed_embeddings/triplets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fi
counter=0
while read p; do
let "counter++"
echo "collecting data from $p"
DEBUG echo "collecting data from $p"
NO_OF_OPT_FILES=$2
DEBUG echo "NO_OF_OPT_FILES from $NO_OF_OPT_FILES"
OPT_LEVELS=("O0" "O1" "O2" "O3" "Os" "Oz")
Expand Down Expand Up @@ -73,14 +73,14 @@ while read p; do
$COLLECT_BUILD/bin/ir2vec -collectIR -o $4 $tmpfile &>/dev/null
let "a++"
rm "$tmpfile"
done &
if [ $counter == 100 ]; then
sleep 20
counter=0
fi

# sleep 2
done
done <$3

wait

# print counter
echo $counter
echo $4
echo "All ll files processed"

0 comments on commit 442560c

Please sign in to comment.