Skip to content

Commit

Permalink
Include a flow event when using untied tasks, even when the task depe…
Browse files Browse the repository at this point in the history
…ndency is on the same OS thread.
  • Loading branch information
khuck committed Aug 21, 2024
1 parent 8d8e378 commit d4e7df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apex/trace_event_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ inline void trace_event_listener::_common_stop(std::shared_ptr<profiler> &p) {
for (auto& parent : p->tt_ptr->parents) {
if (parent != nullptr && parent != main_wrapper
#ifndef APEX_HAVE_HPX // ...except for HPX - make the flow event regardless
&& parent->thread_id != _tid
&& (parent->thread_id != _tid || apex_options::untied_timers())
#endif
) {
//std::cout << "FLOWING!" << std::endl;
Expand Down

0 comments on commit d4e7df9

Please sign in to comment.