0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-26 18:38:52 +02:00

ircd::ctx: Add assertion on slice_enter TSC.

This commit is contained in:
Jason Volk 2019-06-05 12:57:19 -07:00
parent 868d96b89d
commit b06670266d

View file

@ -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