Skip to content

Commit

Permalink
Issue #8: fix nid boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
aogburn committed Jul 13, 2023
1 parent 721b205 commit 7f7d282
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion yatda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,11 @@ if [ "$JAVA_11" == "true" ]; then
while read -r line ; do
NEW_CPU=""
NEW_ELAPSED=""
# a helpful echo if needing to view and debug CPU processing activity
#echo $line
while read -r line2; do
# a helpful echo if needing to view and debug CPU processing activity
#echo $line2
OLD_CPU=$NEW_CPU
OLD_ELAPSED=$NEW_ELAPSED
NEW_CPU=`echo $line2 | sed -E 's/^.*cpu=([0-9]+)\..*/\1/g'`
Expand Down Expand Up @@ -564,7 +568,7 @@ if [ "$JAVA_11" == "true" ]; then
echo >> $FILE_NAME.yatda-cpu
fi
fi
done < <(grep "$line" $FILE_NAME.yatda-tmp.allthreads)
done < <(grep "$line " $FILE_NAME.yatda-tmp.allthreads)
printf "$i of $COUNT threads done\033[0K\r"
i=$((i+1))
done < <(cat $FILE_NAME.yatda-tmp.non-gc-threads)
Expand Down

0 comments on commit 7f7d282

Please sign in to comment.