mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +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"
|
<< "PEAK OBSERVED"
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(25)
|
<< std::setw(25)
|
||||||
|
<< "IN CORE"
|
||||||
|
<< " "
|
||||||
|
<< std::setw(25)
|
||||||
<< "LIMIT"
|
<< "LIMIT"
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(6)
|
<< std::setw(6)
|
||||||
|
@ -2933,6 +2936,9 @@ console_cmd__ctx__list(opt &out, const string_view &line)
|
||||||
out << " "
|
out << " "
|
||||||
<< std::setw(25) << std::right << pretty(pbuf, iec(ctx::stack::get(ctx).peak));
|
<< 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 << " "
|
out << " "
|
||||||
<< std::setw(25) << std::right << pretty(pbuf, iec(ctx::stack::get(ctx).max));
|
<< std::setw(25) << std::right << pretty(pbuf, iec(ctx::stack::get(ctx).max));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue