提交 61697445 编写于 作者: J juncaipeng 提交者: GitHub

Upgrade benchmark (#2748)


* upgrade benchmark 2, test=develop
上级 f7089671
...@@ -151,6 +151,7 @@ void Run(const std::vector<std::vector<int64_t>>& input_shapes, ...@@ -151,6 +151,7 @@ void Run(const std::vector<std::vector<int64_t>>& input_shapes,
ofs << "max = " << std::setw(12) << max_res; ofs << "max = " << std::setw(12) << max_res;
ofs << "average = " << std::setw(12) << avg_res; ofs << "average = " << std::setw(12) << avg_res;
ofs << std::endl; ofs << std::endl;
ofs.close();
} }
#endif #endif
......
...@@ -72,7 +72,8 @@ for threads in ${NUM_THREADS_LIST[@]}; do ...@@ -72,7 +72,8 @@ for threads in ${NUM_THREADS_LIST[@]}; do
done done
adb shell "echo >> $ANDROID_DIR/$RESULT_FILENAME" adb shell "echo >> $ANDROID_DIR/$RESULT_FILENAME"
done done
adb shell "echo >> $ANDROID_DIR/$RESULT_FILENAME"
adb shell "echo power_mode refer: 0 for big cluster, 1 for little cluster, 2 for all cores, 3 for no bind >> $ANDROID_DIR/$RESULT_FILENAME"
# Adb pull benchmark result, show result # Adb pull benchmark result, show result
adb pull $ANDROID_DIR/$RESULT_FILENAME . adb pull $ANDROID_DIR/$RESULT_FILENAME .
echo "\n--------------------------------------" echo "\n--------------------------------------"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册