diff options
Diffstat (limited to 'src/nvim/os/mem.c')
-rw-r--r-- | src/nvim/os/mem.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/os/mem.c b/src/nvim/os/mem.c index 6c8b49d04e..5e483c0c3d 100644 --- a/src/nvim/os/mem.c +++ b/src/nvim/os/mem.c @@ -4,7 +4,9 @@ #include "nvim/os/os.h" -uint64_t os_get_total_mem_kib(void) { +/// Get the total system physical memory in KiB. +uint64_t os_get_total_mem_kib(void) +{ // Convert bytes to KiB. return uv_get_total_memory() >> 10; } |