mirror of
https://github.com/matrix-construct/construct
synced 2025-03-01 23:20:16 +01:00
ircd::ctx: Add assertion on slice_enter TSC.
This commit is contained in:
parent
868d96b89d
commit
b06670266d
1 changed files with 1 additions and 0 deletions
|
@ -1712,6 +1712,7 @@ void
|
||||||
ircd::ctx::prof::slice_enter()
|
ircd::ctx::prof::slice_enter()
|
||||||
{
|
{
|
||||||
_slice_start = cycles();
|
_slice_start = cycles();
|
||||||
|
assert(_slice_start >= _slice_stop);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Add table
Reference in a new issue