stressapptest交叉编译(ARM64)

一、代码下载:

bash 复制代码
https://github.com/stressapptest/stressapptest

二、编译:

bash 复制代码
cd stressapptest

#注意:XXX是你的目标主机。也就是你交叉编译工具链gnu前缀。比如你的交叉编译工具链是:aarch64-linux-gnu-gcc,那XXX就是aarch64-linux-gnu
CC="xxx/aarch64-unknown-linux-gnu-gcc" CXX="xxx/aarch64-unknown-linux-gnu-g++" ./configure --prefix=/opt/stressapptest --host=aarch64-unknown-linux-gnu

make

make install

三、测试:

编译生成的工具在prefix目录下的stressapptest,传到开发板上进行测试:

典型命令:

bash 复制代码
./stressapptest -s 20 -M 256 -m 8 -W    # Test 256MB, running 8 "warm copy" threads. Exit after 20 seconds.
./stressapptest --help                  # list the available arguments.
相关推荐
Johny_Zhao26 分钟前
Burp Suite 企业级深度实战教程
linux·网络·网络安全·信息安全·云计算·shell·burp suite·系统运维·itsm
良辰美景好时光1 小时前
keepalived定制日志bug
linux·运维·bug
s_little_monster1 小时前
【Linux】网络--网络层--IP协议
linux·运维·网络·经验分享·笔记·学习·tcp/ip
forward_huan1 小时前
wsl安装linux
linux·wsl
西阳未落1 小时前
Linux(10)——第二个小程序(自制shell)
linux·运维·服务器
chiou7222 小时前
为 Ubuntu 安装的软件创建桌面图标
linux·ubuntu·lua
binary思维2 小时前
Ubuntu挂起和休眠
linux·运维·ubuntu
初叶 crmeb2 小时前
JAVA单商户易联云小票打印替换模板
java·linux·python
qq_447429412 小时前
数据结构与算法:图论——拓扑排序
linux·c语言·学习·图论
緈福的街口2 小时前
【leetcode】459.重复的子字符串
linux·算法·leetcode