mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd::ctx: Enable ctx::prof on debug builds only.
This commit is contained in:
parent
3ba527079b
commit
69427d7e43
1 changed files with 7 additions and 0 deletions
|
@ -821,6 +821,7 @@ struct ircd::ctx::prof::settings ircd::ctx::prof::settings
|
|||
0us, // slice_assertion unused; warning sufficient for now...
|
||||
};
|
||||
|
||||
#ifdef RB_DEBUG
|
||||
void
|
||||
ircd::ctx::prof::mark(const event &e)
|
||||
{
|
||||
|
@ -833,6 +834,12 @@ ircd::ctx::prof::mark(const event &e)
|
|||
default: break;
|
||||
}
|
||||
}
|
||||
#else
|
||||
void
|
||||
ircd::ctx::prof::mark(const event &e)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
ircd::ctx::prof::handle_cur_enter()
|
||||
|
|
Loading…
Reference in a new issue