Added total memory size to summary.
This commit is contained in:
parent
ada99a6dd1
commit
33f6b91146
3 changed files with 8 additions and 3 deletions
|
@ -104,6 +104,11 @@ static void print_cpu(Config *)
|
|||
|
||||
static void print_threads(Config *config)
|
||||
{
|
||||
Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s") CYAN_BOLD("%.1f GB"),
|
||||
"MEMORY",
|
||||
static_cast<double>(uv_get_total_memory()) / (1024U * 1024U * 1024U)
|
||||
);
|
||||
|
||||
Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s") WHITE_BOLD("%s%d%%"),
|
||||
"DONATE",
|
||||
config->pools().donateLevel() == 0 ? RED_BOLD_S : "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue