Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu采集 #253

Open
1one4 opened this issue Dec 21, 2023 · 2 comments
Open

cpu采集 #253

1one4 opened this issue Dec 21, 2023 · 2 comments

Comments

@1one4
Copy link

1one4 commented Dec 21, 2023

cpu采集到的数据是按照百分比来算的吗,比如说我设备是4核的,采集到的数据为85%,这个85%是除以4得到的吗

@katyhudson
Copy link

cpu采集到的数据是按照百分比来算的吗,比如说我设备是4核的,采集到的数据为85%,这个85%是除以4得到的吗

是最新版本吗,结果已经是除去核数了的

@rafa0128
Copy link
Member

rafa0128 commented Dec 22, 2023

安卓:不是简单除去核数的算法,是把所有核的数据相加,然后在0.5秒取差值来计算短时间内的使用率
iOS:除去核数后的数据
@1one4 如果对你有帮助,请给solox点个小星星

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants