mirror of
https://github.com/matrix-construct/construct
synced 2024-06-28 23:08:20 +02:00
modules/console: Add stack incore usage to ctx list output.
This commit is contained in:
parent
7d7846c57a
commit
52ce2bdad8
|
@ -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