added Utilities::totalMemory
This commit is contained in:
parent
670c7d6018
commit
733f673854
@ -496,6 +496,14 @@ struct Utilities {
|
||||
uv_loadavg(avg.data());
|
||||
return avg;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Gets memory information (in bytes).
|
||||
* @return Memory information.
|
||||
*/
|
||||
static uint64_t totalMemory() noexcept {
|
||||
return uv_get_total_memory();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -511,7 +519,6 @@ struct Utilities {
|
||||
* * uv_os_tmpdir
|
||||
* * uv_os_get_passwd
|
||||
* * uv_os_free_passwd
|
||||
* * uv_get_total_memory
|
||||
* * uv_hrtime
|
||||
*/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user