Skip to content

Commit 96308d0

Browse files
Inject start time to collect.sh
1 parent 78db85f commit 96308d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plot.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ do
9999
if [ -z "$COLLECT_PIDS" ]; then
100100
echo "New ncs.smp process PID $NCS_PID: ncs.smp. Start Collection"
101101
counter=$((counter+1))
102-
bash collect.sh $NCS_PID "data/ncs.smp/mem_ncs.smp.log" $DURATION $VERBOSE "$SIGNAL_FILE" &
102+
bash collect.sh $NCS_PID "data/ncs.smp/mem_ncs.smp.log" $DURATION $VERBOSE "$SIGNAL_FILE" $i &
103103
fi
104104
fi
105105

@@ -109,7 +109,7 @@ do
109109
if [ -z "$COLLECT_PIDS" ]; then
110110
echo "New JVM process PID $JVM_PID: NcsJVMLauncher. Start Collection"
111111
counter=$((counter+1))
112-
bash collect.sh $JVM_PID "data/NcsJVMLauncher/mem_NcsJVMLauncher.log" $DURATION $VERBOSE "$SIGNAL_FILE" &
112+
bash collect.sh $JVM_PID "data/NcsJVMLauncher/mem_NcsJVMLauncher.log" $DURATION $VERBOSE "$SIGNAL_FILE" $i &
113113
fi
114114
fi
115115

@@ -123,7 +123,7 @@ do
123123
if [ ! -z "$PYTHON_SCRIPT" ]; then
124124
echo "New Python process PID $pid: $SCRIPT_NAME. Start Collection"
125125
counter=$((counter+1))
126-
bash collect.sh $pid "data/python3/mem_$SCRIPT_NAME.log" $DURATION-$i $VERBOSE "$SIGNAL_FILE" &
126+
bash collect.sh $pid "data/python3/mem_$SCRIPT_NAME.log" $DURATION $VERBOSE "$SIGNAL_FILE" $i &
127127
fi
128128

129129
fi

0 commit comments

Comments
 (0)