echo ""
#execute dlogstreamer
sdb shell "dlogutil -c"
- sdb shell "dlogutil -v time AUL APP_CORE_UI_BASE|grep -E 'launch.*app_request_to_launchpad_for_uid.*request.*appid|appcore_ui_base_window_on_show.*[EVENT_TEST][EVENT]'" >> $STREAM_LOG_FILE &
+ sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'launch.*app_request_to_launchpad_for_uid.*request.*appid|Launching:done]'" >> $STREAM_LOG_FILE &
DLOG_STREAMER_PID=$!
#execute timestamp
/bin/bash ./timestamp.sh $STREAM_LOG_FILE $RESULT_LOG_FILE &
echo "[>] Start performance test that applciation launching memory"
echo ""
sdb shell "dlogutil -c"
- sdb shell "dlogutil -v time AUL APP_CORE_UI_BASE|grep -E 'app_request_to_launchpad_for_uid.*[SECURE_LOG].*launch.*request|appcore_ui_base_window_on_show.*[EVENT_TEST][EVENT]'" >> $STREAM_LOG_FILE &
+ sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'app_request_to_launchpad_for_uid.*[SECURE_LOG].*launch.*request|Launching:done'" >> $STREAM_LOG_FILE &
DLOG_STREAMER_PID=$!
#execute timestamp
/bin/bash ./timestamp.sh $STREAM_LOG_FILE $RESULT_LOG_FILE &
rm $STREAM_LOG_FILE
touch $STREAM_LOG_FILE
sdb shell "dlogutil -c"
- sdb shell "dlogutil -v time AUL APP_CORE_UI_BASE|grep -E 'launch.*app_request_to_launchpad_for_uid.*request.*appid|appcore_ui_base_window_on_show.*[EVENT_TEST][EVENT]'" >> $STREAM_LOG_FILE &
+ sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'launch.*app_request_to_launchpad_for_uid.*request.*appid|Launching:done'" >> $STREAM_LOG_FILE &
DLOG_STREAMER_PID=$!
#execute timestamp
/bin/bash ./timestamp.sh $STREAM_LOG_FILE $RESULT_LOG_FILE
rm $STREAM_LOG_FILE
touch $STREAM_LOG_FILE
sdb shell "dlogutil -c"
- sdb shell "dlogutil -v time AUL APP_CORE_UI_BASE|grep -E 'app_request_to_launchpad_for_uid.*[SECURE_LOG].*launch.*request|appcore_ui_base_window_on_show.*[EVENT_TEST][EVENT]'" >> $STREAM_LOG_FILE &
+ sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'app_request_to_launchpad_for_uid.*[SECURE_LOG].*launch.*request|Launching:done'" >> $STREAM_LOG_FILE &
DLOG_STREAMER_PID=$!
#execute timestamp
/bin/bash ./timestamp.sh $STREAM_LOG_FILE $RESULT_LOG_FILE &
rm $STREAM_LOG_FILE
touch $STREAM_LOG_FILE
sdb shell "dlogutil -c"
- sdb shell "dlogutil -v time AUL APP_CORE_UI_BASE|grep -E 'app_request_to_launchpad_for_uid.*[SECURE_LOG].*launch.*request|appcore_ui_base_window_on_show.*[EVENT_TEST][EVENT]'" >> $STREAM_LOG_FILE &
+ sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'app_request_to_launchpad_for_uid.*[SECURE_LOG].*launch.*request|Launching:done'" >> $STREAM_LOG_FILE &
DLOG_STREAMER_PID=$!
#execute timestamp
/bin/bash ./timestamp.sh $STREAM_LOG_FILE $RESULT_LOG_FILE &
fi
fi
- if [[ $GET_LOG == *APP_CORE* ]] && [ "$IS_START" = true ]
+ if [[ $GET_LOG == *"LAUNCH"* ]] && [ "$IS_START" = true ]
then
- END_T=$(echo "$GET_LOG" | grep SHOW | awk '{print $2}')
+ END_T=$(echo "$GET_LOG" | grep Launching | awk '{print $2}')
END_T=${END_T%%+0900}
END_T=$(echo $END_T | sed "s/:/./g")