Hi Martin, ----- Original Message ----- > Hi Andreas, > > > I tried to speedup the cond_post a bit with real-time prioritiess (see > > attached patch), but it seems that latmon is unable to cope with it. > > > > $ sudo ./inproc_lat 1 10000 > > Assertion failed: event == self.event > > (/usr/src/nanomsg/nanomsg/src/utils/latmon.c:80) > > Have this happened before you've applied the patch or only with the > patch applied? Only with the patch applied, I didn't investigate it further but my guess is that with real-time scheduling the events can happen out-of-order at some point. > Btw, the assertion in question just checks whether time measurements > during latency analysis happen in correct order (nn_send() goes first, etc.) I did remove the assertion, but the results where completely off then. Andreas