diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/im-sandbox.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index 1e4a95a6..5c4629ce 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -450,12 +450,16 @@ static int run_work(const struct index_args *iargs, Stream *st, if ( sb->zmq_params != NULL ) { + profile_start("zmq-fetch"); + set_last_task(sb->shared->last_task[cookie], "ZMQ fetch"); do { pargs.zmq_data = im_zmq_fetch(zmqstuff, &pargs.zmq_data_size); } while ( pargs.zmq_data_size < 15 ); ok = 1; + profile_end("zmq-fetch"); + /* The filename/event, which will be 'fake' values in * this case, still came via the event queue. More * importantly, the event queue gave us a unique |