Increase readability of unit conversion.

This commit is contained in:
Capi Etheriel 2016-04-29 10:23:02 -03:00
parent a1d326a251
commit b21c6fbf14

View File

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