blob: 6c8b49d04e799486ff7a5d78ed77e4f74cabab20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
/// Functions for accessing system memory information.
#include <uv.h>
#include "nvim/os/os.h"
uint64_t os_get_total_mem_kib(void) {
// Convert bytes to KiB.
return uv_get_total_memory() >> 10;
}
|