未验证 提交 e7072296 编写于 作者: D dragondriver 提交者: GitHub

[skip ci] Add desc comments for GetCPUCoreCount (#9219)

Signed-off-by: Ndragondriver <jiquan.long@zilliz.com>
上级 f68425cb
......@@ -18,6 +18,7 @@ import (
"go.uber.org/zap"
)
// GetCPUCoreCount returns the count of cpu core.
func GetCPUCoreCount(logical bool) int {
c, err := cpu.Counts(logical)
if err != nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册