diff options
author | Thomas White <taw@physics.org> | 2016-03-01 02:59:38 -0800 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-03-01 03:37:24 -0800 |
commit | c780ec9c40325c257fff73c1d330c5f4d81baea9 (patch) | |
tree | 2c633bddd6479c59b595037c879ea3227d1bec93 /src/process_image.h | |
parent | 0c1a3d2a45878b544c0f30135fc9d1240f88889a (diff) |
indexamajig: Wall clock profiling
Diffstat (limited to 'src/process_image.h')
-rw-r--r-- | src/process_image.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/process_image.h b/src/process_image.h index f474725c..d41c23f5 100644 --- a/src/process_image.h +++ b/src/process_image.h @@ -3,11 +3,11 @@ * * The processing pipeline for one image * - * Copyright © 2012-2015 Deutsches Elektronen-Synchrotron DESY, + * Copyright © 2012-2016 Deutsches Elektronen-Synchrotron DESY, * a research centre of the Helmholtz Association. * * Authors: - * 2010-2015 Thomas White <taw@physics.org> + * 2010-2016 Thomas White <taw@physics.org> * 2014 Valerio Mariani * * This file is part of CrystFEL. @@ -38,6 +38,7 @@ struct index_args; #include "integration.h" #include "im-sandbox.h" +#include "time-accounts.h" enum { @@ -89,6 +90,7 @@ struct index_args float fix_bandwidth; float fix_divergence; char *felix_options; + int profile; /* Whether or not to do wall clock profiling */ }; @@ -103,7 +105,7 @@ struct pattern_args extern void process_image(const struct index_args *iargs, struct pattern_args *pargs, Stream *st, int cookie, const char *tmpdir, int serial, - struct sb_shm *sb_shared); + struct sb_shm *sb_shared, TimeAccounts *taccs); #endif /* PROCESS_IMAGE_H */ |