【发布时间】:2015-05-15 12:50:39
【问题描述】:
步骤(1)下载源代码
svn checkout http://stressapptest.googlecode.com/svn/trunk/ stressapptest
步骤(2)如何为Android x86手机编译上述代码?
我无法回答。
步骤(3)如何安装?
adb push stressapptest /data/local/tmp/
adb shell chmod 777 /data/local/tmp/stressapptest
adb shell /data/local/tmp/stressapptest
步骤(4)如何运行? 用户指南:https://code.google.com/p/stressapptest/wiki/UserGuide
命令行示例
./stressapptest -s 20 -M 256 -m 8 -C 8 -W # Allocate 256MB of memory and run 8 "warm copy" threads, and 8 cpu load threads. Exit after 20 seconds.
./stressapptest -f /tmp/file1 -f /tmp/file2 # Run 2 file IO threads, and autodetect memory size and core count to select allocated memory and memory copy threads.
问题是:如何为Android x86手机编译上述代码?
【问题讨论】:
标签: android compilation android-ndk cross-compiling stress-testing