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

[skip ci] Add desc comments for GetMemoryCount (#9274)

Signed-off-by: Ndragondriver <jiquan.long@zilliz.com>
上级 45af2202
......@@ -48,6 +48,7 @@ func GetCPUUsage() float64 {
return percents[0]
}
// GetMemoryCount returns the memory count in bytes.
func GetMemoryCount() uint64 {
stats, err := mem.VirtualMemory()
if err != nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册