为了账号安全,请及时绑定邮箱和手机立即绑定

sysben测试cpu时,为什么采用素数加法运算

sysben测试cpu时,为什么采用素数加法运算

红糖糍粑 2018-08-07 10:17:17
我看到sysbench测试cpu的性能时,采用了素数相加计算来判断cpu的性能,为什么要这样?
查看完整描述

2 回答

?
HUWWW

TA贡献1874条经验 获得超12个赞

是素性测试吧。官网是这么讲的

In this mode each request consists in calculation of prime numbers up
to a value specified by the --cpu-max-primes option. All calculations
are performed using 64-bit integers.


查看完整回答
反对 回复 2018-08-11
?
牛魔王的故事

TA贡献1830条经验 获得超3个赞

因为作者就那么想的。

查看完整回答
反对 回复 2018-08-11
  • 2 回答
  • 0 关注
  • 1192 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信