4.1.4. 测试指南¶
4.1.4.2. 编译测试工具¶
SDK已默认会编译bwmtop测试工具,可以直接使用。也可以按以下配置打开:
Artinchip packages--->
Sample code--->
[*] test-bwmtop--->
配置后,重新编译。
4.1.4.3. bwmtop测试¶
可以直接调用bwmtop测试
bwmtop
该命令默认配置1s更新一次参数。
该命令的其它参数可以参考help命令:
[aic@] # bwmtop -h
Usage: bwmtop [-n iter] [-d delay] [-m] [-o FILE] [-h]
-n NUM Number of updates before this program exiting.
-d NUM Seconds to wait between update.
-m Display the result in MB unit, default unit is Byte
-k Display the result in KB unit, default unit is Byte
-o FILE Output to a file.
-v Display bwmtop version.
-h Display this help screen.