mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-04 18:02:08 +08:00
[skip ci] Add desc comments for GetMemoryCount (#9274)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
45af2202e1
commit
4bac5b1f4d
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user