Merge pull request #4675 from barraponto/patch-1

Increase readability of unit conversion.
This commit is contained in:
Justin M. Keyes
2016-04-29 18:20:58 -04:00

View File

@@ -8,5 +8,5 @@
uint64_t os_get_total_mem_kib(void)
{
// Convert bytes to KiB.
return uv_get_total_memory() >> 10;
return uv_get_total_memory() / 1024;
}