Skip to content

Commit

Permalink
Sysinfo kilobytes -> Bytes change (JuliaLang#34328)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chetank99 authored and StefanKarpinski committed Jan 9, 2020
1 parent 97f1f9b commit 45a0381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/sysinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -242,14 +242,14 @@ end
"""
Sys.free_memory()
Get the total free memory in RAM in kilobytes.
Get the total free memory in RAM in bytes.
"""
free_memory() = ccall(:uv_get_free_memory, UInt64, ())

"""
Sys.total_memory()
Get the total memory in RAM (including that which is currently used) in kilobytes.
Get the total memory in RAM (including that which is currently used) in bytes.
"""
total_memory() = ccall(:uv_get_total_memory, UInt64, ())

Expand Down

0 comments on commit 45a0381

Please sign in to comment.