aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-03-07 15:32:24 +0100
committerThomas White <taw@physics.org>2022-03-07 16:05:11 +0100
commit08f49ce8d560c3d2218e01b215920e55d735341f (patch)
tree41fd5a721caee3665906d03d5d75ce05bf7caca3 /src
parent8f3fe09b4a0b8bd014fc058f474f08834b94821b (diff)
indexamajig: Use fine-grained profiling
Diffstat (limited to 'src')
-rw-r--r--src/process_image.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process_image.c b/src/process_image.c
index 35bd5e31..36e80b77 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -154,8 +154,9 @@ static struct image *file_wait_open_read(const char *filename,
set_last_task(last_task, "read file");
sb_shared->pings[cookie]++;
- image = image_read(dtempl, filename, event,
- no_image_data, no_mask_data);
+ image = image_read_with_time_accounting(dtempl, filename, event,
+ no_image_data, no_mask_data,
+ taccs);
if ( image == NULL ) {
if ( wait_for_file && !read_retry_done ) {
read_retry_done = 1;