0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-03-28 12:33:33 +01:00

ircd::ctx: Add ios profile debuglog indicating ctx::wake().

This commit is contained in:
Jason Volk 2020-12-12 20:23:22 -08:00
parent d947b5e724
commit 799c4e1691

View file

@ -338,6 +338,23 @@ bool
ircd::ctx::ctx::wake()
noexcept try
{
if constexpr(ios::profile::logging)
{
assert(ios_desc.stats);
log::logf
{
ios::log, log::level::DEBUG,
"QUEUE %5u %-30s [%11lu] ------[%9lu] q:%-4lu id:%-5u %-30s",
ios_desc.id,
trunc(ios_desc.name, 30),
ios_desc.stats->calls,
notes,
ios_desc.stats->queued,
id,
name,
};
}
alarm.cancel();
return true;
}