-
Notifications
You must be signed in to change notification settings - Fork 9
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
723 Add debugging epoch labels #724
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #724 +/- ##
===========================================
+ Coverage 79.06% 79.08% +0.01%
===========================================
Files 333 334 +1
Lines 10162 10174 +12
===========================================
+ Hits 8035 8046 +11
- Misses 2127 2128 +1
|
141ad1e
to
1f3d8bb
Compare
|
||
SuccessorEpochCapture::SuccessorEpochCapture() | ||
: epoch_( | ||
(theMsg()->getEpoch() != no_epoch and |
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.
Consider TU-local/file method accepting theMsg()->getEpoch() -> maybe_epoch
.
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.
Not sure what this means.
Add a new optional parameter when creating a new epoch to specify a label that is dumped in debugging output (DOT files). In order to make this change correctly, a breaking change is made on non-default overloads of TermminationDetector::makeEpochCollective and TermminationDetector::makeEpochRooted due to char* to bool overload problems. Thus, a tag class is used to specify if the epoch should use the current epoch as the succesor or whether a DS epoch should be used. This has the added benefit of making the interface more explicit and less error prone.
0c3209a
to
5670ef2
Compare
Fixes #723
Add a new optional parameter when creating a new epoch to specify a label that is dumped in debugging output (DOT files). In order to make this change correctly, a breaking change is made on non-default overloads of
TerminationDetector::makeEpochCollective
andTerminationDetector::makeEpochRooted
due to char* to bool overload problems.Thus, a tag class is used to specify/capture if the successor epoch should be the current epoch (or an manual override by the user) or whether a DS epoch should be used. This has the added benefit of making the interface more explicit and less error prone.
outfile-global.pdf
This has potential for beta.6, depending on feedback.