-
Notifications
You must be signed in to change notification settings - Fork 393
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
Global DataSystemVariables+FaultsManager #8588
Conversation
No worries, thank you for noticing. I learned from this and will get it changed. |
No worries yourself. I only learned about |
Thanks, I understand one of the primary advantages of using C++ is maintaining/increasing performance, and that we have to go a bit beyond basic C++ programming to try to get the most optimized code. It's been a wonderful experience to learn by doing and to learn from experienced programmers. |
This one looks clean. The windows build error is a very spurious warning about a file being in use, and the linux regression is the gpu file that still randomly shows diffs. I'll take a quick look at the code changes, but mostly going to be relying on CI to validate these differences. |
std::string const cTimingFlag("TimingFlag"); | ||
std::string const TrackAirLoopEnvVar("TRACK_AIRLOOP"); // To generate a file with runtime statistics | ||
|
||
constexpr const char *DDOnlyEnvVar("DDONLY"); // Only run design days |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do wonder how many (if any) of these are needed outside of the worker function(s) below. That's for another day, now that these are constexpr and not a problem anymore.
Yeah this is all good. Thanks @jmythms ! |
Thank you! |
Move global variables in DataSystemVariables.* and FaultsManager.* to state
Pull Request Author
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Reviewer
This will not be exhaustively relevant to every PR.