aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-04-05 16:52:35 +0200
committerThomas White <taw@physics.org>2022-04-05 16:54:12 +0200
commit689cbeabf1294f0c9458d4058244833915e78f4c (patch)
tree928a2b021516b99914015796701d3ccc0e4bf514 /libcrystfel/src/image.c
parentd5eeb82d1cb1dd8e43a386962279632b80e8c89b (diff)
indexamajig: Fix profiling when using streamed data
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r--libcrystfel/src/image.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index e428b606..7b86588d 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -1382,7 +1382,8 @@ struct image *image_read_data_block(const DataTemplate *dtempl,
DataSourceType type,
int serial,
int no_image_data,
- int no_mask_data)
+ int no_mask_data,
+ TimeAccounts *taccs)
{
struct image *image;
char tmp[64];
@@ -1406,7 +1407,7 @@ struct image *image_read_data_block(const DataTemplate *dtempl,
image->data_source_type = type;
- if ( do_image_read(image, dtempl, no_image_data, no_mask_data, NULL) ) {
+ if ( do_image_read(image, dtempl, no_image_data, no_mask_data, taccs) ) {
image_free(image);
ERROR("Failed to load image\n");
return NULL;