Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 android 开发一个应用程序,我需要在其中监控 CPU 使用率与功耗。为了做到这一点,我做了一些奇怪的事情:
我需要运行一些计算量大的任务,它可以使用尽可能多的 CPU。
我不希望该任务使用任何其他组件,如 LCD、音频、wifi 等。只是纯 CPU。
如果你们对这种奇怪的问题有任何答案,请帮助...谢谢
有几个,例如通过蛮力查找素数、阿克曼函数或旅行推销员。