Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kassiopeia: Add processing duration as output fields #115

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

2xB
Copy link
Member

@2xB 2xB commented Jul 3, 2024

To understand which steps and tracks take long to calculate, this commit adds new output fields processing_duration to Tracks, Steps, Events and Runs.

This replaces the old processing time calculation of KSRuns used to print the estimated remaining time into the log since that can re-use the newly added timings. However this excludes a minor bit of clean-up code after the run processing from the respective timing.

To understand which steps and tracks take long to calculate, this commit adds
new output fields `processing_duration` to Tracks, Steps, Events and Runs.

This replaces the old processing time calculation of KSRuns used to print
the estimated remaining time into the log since that can re-use the
newly added timings. However this excludes a minor bit of clean-up code
after the run processing from the respective timing.
@richeldichel
Copy link
Contributor

Thanks, this is very handy! I have added the output to the DipoleTrapSimulation.xml just now so that users can follow an example when they want to implement this in their simulations.

@richeldichel
Copy link
Contributor

I (force) clarified the last commit a bit by naming the corresponding components 'processing_duration' and not 'component_step_duration'. Will merge this now.

@richeldichel richeldichel merged commit 12b1002 into KATRIN-Experiment:main Aug 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants