Add object pool related debug status info.

This commit is contained in:
2023-02-11 23:11:45 +08:00
parent 7f87c23da2
commit 4707c40e6a

View File

@@ -260,8 +260,10 @@ namespace Cryville.Crtr {
);
if (started) {
statusbuf.AppendFormat(
"\nStates: c{0} / b{1}",
cbus.ActiveStateCount, bbus.ActiveStateCount
"\nStates: c{0} / b{1}\nPools: RMV {2}, MC {3}",
cbus.ActiveStateCount, bbus.ActiveStateCount,
ContainerState.RMVPool.RentedCount,
ContainerState.MCPool.RentedCount
);
statusbuf.AppendFormat(
"\nSTime: {0:G17}s {3} {4}\ndATime: {1:+0.0ms;-0.0ms;0} {3} {4}\ndITime: {2:+0.0ms;-0.0ms;0} {3} {5}",