mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-11 09:46:26 +08:00
[skip ci] Add desc comments for GetUsedMemoryCount (#9129)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
d13ae5f336
commit
9b095843e4
@ -58,6 +58,7 @@ func GetMemoryCount() uint64 {
|
||||
return stats.Total
|
||||
}
|
||||
|
||||
// GetUsedMemoryCount returns the memory usage in bytes.
|
||||
func GetUsedMemoryCount() uint64 {
|
||||
stats, err := mem.VirtualMemory()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user