mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 15:04:10 +01:00
modules/console: Add stack incore usage to ctx list output.
This commit is contained in:
parent
7d7846c57a
commit
52ce2bdad8
1 changed files with 6 additions and 0 deletions
|
@ -2880,6 +2880,9 @@ console_cmd__ctx__list(opt &out, const string_view &line)
|
|||
<< "PEAK OBSERVED"
|
||||
<< " "
|
||||
<< std::setw(25)
|
||||
<< "IN CORE"
|
||||
<< " "
|
||||
<< std::setw(25)
|
||||
<< "LIMIT"
|
||||
<< " "
|
||||
<< std::setw(6)
|
||||
|
@ -2933,6 +2936,9 @@ console_cmd__ctx__list(opt &out, const string_view &line)
|
|||
out << " "
|
||||
<< std::setw(25) << std::right << pretty(pbuf, iec(ctx::stack::get(ctx).peak));
|
||||
|
||||
out << " "
|
||||
<< std::setw(25) << std::right << pretty(pbuf, iec(allocator::incore(ctx::stack::get(ctx).buf)));
|
||||
|
||||
out << " "
|
||||
<< std::setw(25) << std::right << pretty(pbuf, iec(ctx::stack::get(ctx).max));
|
||||
|
||||
|
|
Loading…
Reference in a new issue