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

Named timing output file #41

Merged
merged 3 commits into from
Jan 5, 2021
Merged

Named timing output file #41

merged 3 commits into from
Jan 5, 2021

Conversation

mdavis36
Copy link
Collaborator

@mdavis36 mdavis36 commented Jan 4, 2021

This adds the ability to define a name for a given output timing file. If no name is passed to the SpheralController the default nametime.table will be used and behavior will remain the same.

@mdavis36 mdavis36 requested a review from jmikeowen January 4, 2021 23:02
TimerSummary(); // backwards compatibilty...
}

static void TimerSummary(void);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmikeowen I know passing void as an argument type is a C trick for explicitly defining a function takes 0 arguments. Does removing this break some interoperability with the C wrapping library that I may not be aware of?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you're breaking anything there. This Timer class stuff is a really old version of something constructed by Noel Keen years ago, who now works at Lawrence Berkeley Lab still on performance stuff. You could ask him ([email protected]) for more info on why he did it this way, and he likely has some updated version of this by now.

Copy link
Collaborator

@jmikeowen jmikeowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks reasonable to me.

@mdavis36 mdavis36 merged commit 124f302 into develop Jan 5, 2021
@mdavis36 mdavis36 deleted the feature/named-timetable branch January 5, 2021 21:11
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