diff options
author | Thomas White <taw@physics.org> | 2022-04-05 16:52:35 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-04-05 16:54:12 +0200 |
commit | 689cbeabf1294f0c9458d4058244833915e78f4c (patch) | |
tree | 928a2b021516b99914015796701d3ccc0e4bf514 /libcrystfel/src | |
parent | d5eeb82d1cb1dd8e43a386962279632b80e8c89b (diff) |
indexamajig: Fix profiling when using streamed data
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/image.c | 5 | ||||
-rw-r--r-- | libcrystfel/src/image.h | 3 |
2 files changed, 5 insertions, 3 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; diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h index 8bcd0a57..78fd01cd 100644 --- a/libcrystfel/src/image.h +++ b/libcrystfel/src/image.h @@ -235,7 +235,8 @@ extern 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); extern void image_free(struct image *image); extern int image_read_header_float(struct image *image, const char *from, |