forked from yc9559/uperf
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uperf:修复定时器回调导致死锁,使用独立延时任务线程 uperf:恢复进入overlay类型hint之前的base类型hint,如果还在base类型hint的时间范围内 uperf:推测发生解锁屏幕这一方法存在少量漏检,因此在屏幕熄灭时收到渲染滞后通知也作为`AndroidAM`事件处理 uperf:如果负载真的特别低(30% idleload),应该立即退出重负载 配置文件生成器:因为允许sflag->androidam,必须设置对应动作的最小频率 配置文件生成器:略微提升heavyload目标阈值 once:当SfAnalysis注入失败后设置SELinux为permissive后,再次尝试注入 makefile:uperf提供32/64位双版本 readme:完成初版文档 Signed-off-by: Matt Yang <[email protected]>
- Loading branch information
Showing
19 changed files
with
587 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Uperf Setup | ||
# https://github.com/yc9559/ | ||
# Author: Matt Yang & cjybyjk ([email protected]) | ||
# Version: 20200513 | ||
# Version: 20200516 | ||
|
||
BASEDIR="$(dirname $(readlink -f "$0"))" | ||
|
||
|
@@ -299,7 +299,7 @@ uperf_print_banner() | |
echo "" | ||
echo "* Uperf https://github.com/yc9559/uperf/" | ||
echo "* Author: Matt Yang" | ||
echo "* Version: DEV 20200513" | ||
echo "* Version: v1 (20200516)" | ||
echo "" | ||
} | ||
|
||
|
@@ -318,14 +318,21 @@ uperf_install() | |
if [ "$cfgname" != "unsupported" ]; then | ||
echo "- The platform name is $target. Use $cfgname.json" | ||
_setup_platform_file "$cfgname" | ||
_set_perm_recursive $BASEDIR 0 0 0755 0644 | ||
_set_perm_recursive $BASEDIR/bin 0 0 0755 0755 | ||
# in case of set_perm_recursive is broken | ||
chmod 0755 $BASEDIR/bin/* | ||
else | ||
_abort "! [$target] not supported." | ||
fi | ||
|
||
if [ "$(_is_aarch64)" == "true" ]; then | ||
cp "$BASEDIR/uperf/arm64-v8a/uperf" "$BASEDIR/bin" | ||
else | ||
cp "$BASEDIR/uperf/armeabi-v7a/uperf" "$BASEDIR/bin" | ||
fi | ||
|
||
_set_perm_recursive $BASEDIR 0 0 0755 0644 | ||
_set_perm_recursive $BASEDIR/bin 0 0 0755 0755 | ||
# in case of set_perm_recursive is broken | ||
chmod 0755 $BASEDIR/bin/* | ||
|
||
echo "- Uperf installation was successful." | ||
} | ||
|
||
|
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.