From 689cbeabf1294f0c9458d4058244833915e78f4c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 5 Apr 2022 16:52:35 +0200 Subject: indexamajig: Fix profiling when using streamed data --- libcrystfel/src/image.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libcrystfel/src/image.c') 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; -- cgit v1.2.3