aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-05-03 13:48:05 +0200
committerThomas White <taw@physics.org>2022-06-02 12:15:38 +0200
commit7cae8ed0e420173b17aec11329411d4284de32cd (patch)
tree8b8c0e879743294dea94d5ace2daa4707d36d7b5 /src/im-sandbox.c
parentcad70f87ea137f7e60a36d9e8aa45f3f03c11a4a (diff)
ASAP::O: Add profiling bits
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r--src/im-sandbox.c2
1 files changed, 2 insertions, 0 deletions
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;