[nanomsg] Re: Inproc latency and programming challenge!

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Fri, 25 Jan 2013 16:05:21 +0100

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?

Btw, the assertion in question just checks whether time measurements during latency analysis happen in correct order (nn_send() goes first, etc.)

Martin

Other related posts: