Skip to content

Commit

Permalink
#900 add logging for MPI send+recv methods
Browse files Browse the repository at this point in the history
  • Loading branch information
pnstickne committed Jun 30, 2020
1 parent c342e65 commit 7f9532b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vt/pmpi/generate_mpi_wrappers.pl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ sub should_guard_call {
sub log_event {
my ($name) = @_;
say <<LOG;
# ACTION_FOR $name - sub
auto scopedEvent = vt::trace::TraceScopedEventHash{"${name}_called"};
LOG
}

Expand Down Expand Up @@ -113,6 +113,8 @@ sub emit_prologue {
say <<PROLOGUE;
#include "vt/config.h"
#include "vt/runtime/mpi_access.h"
#include "vt/trace/trace.h"
#include "vt/trace/trace_user.h" // TraceScopedEventHash
#include <mpi.h>
Expand Down

0 comments on commit 7f9532b

Please sign in to comment.