0

正如问题明确指出的那样,我想在一段时间内以任何给定的百分比模拟高 CPU 使用率,最好没有任何 3rd 方应用程序。当 CPU 使用率很高时,我正在尝试模拟这个以通过 adb/monkeyrunner 运行一些自动化测试用例。有可能这样做吗?

4

1 回答 1

5

You can't simulate. You can actually increment CPU usage by writing some intensive application which includes lot of math etc. There are also benchmarks which stress the CPU to 100% utilization. You can take a reference from them as well.

于 2012-10-16T05:44:52.060 回答