-
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
1051: Add local invoke to proxies that trace and record LB #1132
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1132 +/- ##
===========================================
+ Coverage 79.61% 80.96% +1.34%
===========================================
Files 724 729 +5
Lines 27809 28022 +213
===========================================
+ Hits 22141 22687 +546
+ Misses 5668 5335 -333
|
a274bae
to
73fd8ab
Compare
73fd8ab
to
f005cf3
Compare
dcf750b
to
8f01fe4
Compare
src/vt/trace/trace_constants.h
Outdated
@@ -83,7 +83,8 @@ enum class eTraceConstants : int32_t { | |||
UserStat = 32, | |||
BeginUserEventPair = 98, | |||
EndUserEventPair = 99, | |||
UserEventPair = 100 | |||
UserEventPair = 100, | |||
LocalInvoke = 101 |
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 whether we want (or can as this probably won't work with Projections tool) to add new trace type for invoke or should we use existing one? At the end the output will be the same as for Creation event type.
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.
Let's make this just a regular Creation
event.
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.
Projections doesn't do anything special for these.
Per @PhilMiller suggestion, we should create a |
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.
Overall, this looks great and it's nearly ready to merge I think. Just a little more doxygen to be added to the proxy interface for virtual collections. Also, we should just use the standard trace event.
src/vt/trace/trace_constants.h
Outdated
@@ -83,7 +83,8 @@ enum class eTraceConstants : int32_t { | |||
UserStat = 32, | |||
BeginUserEventPair = 98, | |||
EndUserEventPair = 99, | |||
UserEventPair = 100 | |||
UserEventPair = 100, | |||
LocalInvoke = 101 |
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.
Let's make this just a regular Creation
event.
src/vt/trace/trace_constants.h
Outdated
@@ -83,7 +83,8 @@ enum class eTraceConstants : int32_t { | |||
UserStat = 32, | |||
BeginUserEventPair = 98, | |||
EndUserEventPair = 99, | |||
UserEventPair = 100 | |||
UserEventPair = 100, | |||
LocalInvoke = 101 |
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.
Projections doesn't do anything special for these.
|
||
namespace vt { namespace vrt { namespace collection { | ||
|
||
template <typename ColT, typename IndexT, typename BaseProxyT> |
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.
Can you add doxygen for these new methods here?
0523d66
to
30a7749
Compare
@PhilMiller @lifflander Currently invoke produces following traces:
So you're proposing we should add another Creation event like following?
Or do you have something else in mind? |
48b62ed
to
139b844
Compare
PR updated |
ed923bd
to
3cfcf22
Compare
Looks good I think this is ready to rebase and merge |
…y which instantly invokes the handler without going through scheduler
…iven handler inline without going through scheduler
…data for given Callable object. Works for C style functions, functors and member functions
…invoke's Callable
…tion) to separate file
…oke function from trace module
3cfcf22
to
e1d4ad4
Compare
Fixes #1051