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:
parent
d947b5e724
commit
799c4e1691
1 changed files with 17 additions and 0 deletions
17
ircd/ctx.cc
17
ircd/ctx.cc
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue