From 7cae8ed0e420173b17aec11329411d4284de32cd Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 3 May 2022 13:48:05 +0200 Subject: ASAP::O: Add profiling bits --- src/im-sandbox.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/im-sandbox.c') diff --git a/src/im-sandbox.c b/src/im-sandbox.c index 158da59b..6e4b7fcd 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -476,10 +476,12 @@ static int run_work(const struct index_args *iargs, Stream *st, /* Temporary (?) abuse of "zmq_data", even though * data comes via ASAP::O */ + profile_start("asapo-fetch"); pargs.zmq_data = im_asapo_fetch(asapostuff, &pargs.zmq_data_size, &filename, &event); + profile_end("asapo-fetch"); if ( pargs.zmq_data != NULL ) { ok = 1; -- cgit v1.2.3