jfjoch_process: Display scaling time in per image metrics

This commit is contained in:
2026-05-16 21:30:19 +02:00
parent 1b781660c9
commit cd492db2eb
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -467,6 +467,7 @@ MeanProcessingTime JFJochReceiverPlots::GetMeanProcessingTime() const {
ret.preprocessing = preprocessing_time.Mean();
ret.azint = azint_time.Mean();
ret.indexing_analysis = indexing_analysis_time.Mean();
ret.image_scale = image_scale_time.Mean();
return ret;
}
+1
View File
@@ -29,6 +29,7 @@ struct MeanProcessingTime {
float bragg_prediction;
float processing;
float indexing_analysis;
float image_scale;
};
class JFJochReceiverPlots {
+2 -1
View File
@@ -731,7 +731,7 @@ int main(int argc, char **argv) {
auto image_mean_time = plots.GetMeanProcessingTime();
logger.Info(
"Per-image time: (mean; microseconds): decompress {:.0f} preprocess {:.0f} azint {:.0f} spot finding {:.0f} indexing {:.0f} refinement {:.0f} indexing analysis {:.0f} prediction {:.0f} integration {:.0f} total {:.0f}",
"Per-image time: (mean; microseconds): decompress {:.0f} preprocess {:.0f} azint {:.0f} spot finding {:.0f} indexing {:.0f} refinement {:.0f} indexing analysis {:.0f} prediction {:.0f} integration {:.0f} scaling {:.0f} total {:.0f}",
image_mean_time.compression * 1e6,
image_mean_time.preprocessing * 1e6,
image_mean_time.azint * 1e6,
@@ -741,6 +741,7 @@ int main(int argc, char **argv) {
image_mean_time.indexing_analysis * 1e6,
image_mean_time.bragg_prediction * 1e6,
image_mean_time.integration * 1e6,
image_mean_time.image_scale * 1e6,
image_mean_time.processing * 1e6);
if (rotation_indexer_ret.has_value()) {