34 fprintf(stream,
"%d,%lu,%d,%lu,%s,target=%d\n", rank, t0, rank, t1,
str().c_str(), target_rank);
40 using prof_event_target_base::prof_event_target_base;
41 std::string
str()
const override {
return "mpi_rma_get"; }
45 using prof_event_target_base::prof_event_target_base;
46 std::string
str()
const override {
return "mpi_rma_put"; }
50 using prof_event_target_base::prof_event_target_base;
51 std::string
str()
const override {
return "mpi_rma_atomic_faa"; }
55 using prof_event_target_base::prof_event_target_base;
56 std::string
str()
const override {
return "mpi_rma_atomic_cas"; }
60 using prof_event_target_base::prof_event_target_base;
61 std::string
str()
const override {
return "mpi_rma_atomic_get"; }
65 using prof_event_target_base::prof_event_target_base;
66 std::string
str()
const override {
return "mpi_rma_atomic_put"; }
71 std::string
str()
const override {
return "mpi_rma_flush"; }
75 using prof_event_target_base::prof_event_target_base;
76 std::string
str()
const override {
return "rma_get_nb"; }
80 using prof_event_target_base::prof_event_target_base;
81 std::string
str()
const override {
return "rma_put_nb"; }
86 std::string
str()
const override {
return "rma_flush"; }
90 using prof_event_target_base::prof_event_target_base;
91 std::string
str()
const override {
return "global_lock_trylock"; }
95 using prof_event_target_base::prof_event_target_base;
96 std::string
str()
const override {
return "global_lock_priolock"; }
100 using prof_event_target_base::prof_event_target_base;
101 std::string
str()
const override {
return "global_lock_unlock"; }
106 std::string
str()
const override {
return "allocator_alloc"; }
111 std::string
str()
const override {
return "allocator_free_local"; }
115 using prof_event_target_base::prof_event_target_base;
116 std::string
str()
const override {
return "allocator_free_remote"; }
121 std::string
str()
const override {
return "allocator_collect"; }
Definition: prof_events.hpp:124
prof_events()
Definition: prof_events.hpp:126
Definition: profiler.hpp:264
Definition: profiler.hpp:53
virtual std::string str() const
Definition: profiler.hpp:96
profiler_state & state_
Definition: profiler.hpp:168
void do_acc(wallclock::wallclock_t t)
Definition: profiler.hpp:139
#define ITYR_ANON_VAR
Definition: util.hpp:55
int rank_t
Definition: topology.hpp:12
rank_t my_rank()
Definition: topology.hpp:207
uint64_t wallclock_t
Definition: wallclock.hpp:13
Definition: allocator.hpp:16
fprintf(stderr, "\x1b[31m%s\x1b[39m\n", msg)
#define MLOG_BEGIN(...)
Definition: profiler.hpp:17
#define MLOG_READ_ARG(buf, type)
Definition: profiler.hpp:19
Definition: prof_events.hpp:104
std::string str() const override
Definition: prof_events.hpp:106
Definition: prof_events.hpp:119
std::string str() const override
Definition: prof_events.hpp:121
Definition: prof_events.hpp:109
std::string str() const override
Definition: prof_events.hpp:111
Definition: prof_events.hpp:114
std::string str() const override
Definition: prof_events.hpp:116
Definition: prof_events.hpp:94
std::string str() const override
Definition: prof_events.hpp:96
Definition: prof_events.hpp:89
std::string str() const override
Definition: prof_events.hpp:91
Definition: prof_events.hpp:99
std::string str() const override
Definition: prof_events.hpp:101
Definition: prof_events.hpp:54
std::string str() const override
Definition: prof_events.hpp:56
Definition: prof_events.hpp:49
std::string str() const override
Definition: prof_events.hpp:51
Definition: prof_events.hpp:59
std::string str() const override
Definition: prof_events.hpp:61
Definition: prof_events.hpp:64
std::string str() const override
Definition: prof_events.hpp:66
Definition: prof_events.hpp:69
std::string str() const override
Definition: prof_events.hpp:71
Definition: prof_events.hpp:39
std::string str() const override
Definition: prof_events.hpp:41
Definition: prof_events.hpp:44
std::string str() const override
Definition: prof_events.hpp:46
Definition: prof_events.hpp:84
std::string str() const override
Definition: prof_events.hpp:86
Definition: prof_events.hpp:74
std::string str() const override
Definition: prof_events.hpp:76
Definition: prof_events.hpp:79
std::string str() const override
Definition: prof_events.hpp:81
Definition: prof_events.hpp:10
void * trace_decoder(FILE *stream, void *buf0, void *buf1) override
Definition: prof_events.hpp:26
auto interval_begin(profiler::mode_stats, wallclock::wallclock_t t, topology::rank_t target_rank[[maybe_unused]])
Definition: prof_events.hpp:13
auto interval_begin(profiler::mode_trace, wallclock::wallclock_t t, topology::rank_t target_rank)
Definition: prof_events.hpp:19
Definition: profiler.hpp:37
Definition: profiler.hpp:41
mlog_data_t trace_md
Definition: profiler.hpp:50