aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-06-02 11:32:06 +0200
committerThomas White <taw@physics.org>2022-06-02 11:34:12 +0200
commitd42764d6051ea147ff5e073ccc23324a2eb81d53 (patch)
tree96cb115ffc32a0dc046fe000c1bce3bd45a27fe5
parentf2888e5a786041ef38de658579833600a3cefa43 (diff)
Profiling: Increase MAX_PROFILE_CHILDREN
This number has to be at least 2x as high as the number of detector panels because, when using HDF5 and a bad pixel map, each panel will have an H5Dopen2 and H5Dread block inside create-badmap.
-rw-r--r--libcrystfel/src/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/profile.c b/libcrystfel/src/profile.c
index f20e4b7e..c94c746c 100644
--- a/libcrystfel/src/profile.c
+++ b/libcrystfel/src/profile.c
@@ -41,7 +41,7 @@
#define CLOCK_MONOTONIC_RAW (CLOCK_MONOTONIC)
#endif
-#define MAX_PROFILE_CHILDREN 32
+#define MAX_PROFILE_CHILDREN 256
struct _profile_block
{