Tracer implementation writing to OTF2 via libotf2 The result can be viewed by several programs, one example is "vite" developed at INRIA. More...
#include <OTF2Tracer.h>
Tracer implementation writing to OTF2 via libotf2 The result can be viewed by several programs, one example is "vite" developed at INRIA.
Definition at line 92 of file OTF2Tracer.h.
Public Member Functions | |
OTF2Tracer (std::string archive_path, std::string archive_name) | |
void | enterRegion (TracerRegions region) override |
Call this to mark that a certain tracer region has been entered. More... | |
void | leaveRegion (TracerRegions region) override |
Call this to mark that a certain tracer region has been left. More... | |
void | write () override |
|
inline |
Definition at line 97 of file OTF2Tracer.h.
References archive, muq::Utilities::BurnIn, muq::Utilities::CollectorBusy, epoch_start, evt_writer, muq::Utilities::FetchingProposal, muq::Utilities::Finalize, muq::Utilities::flush_callbacks, muq::Utilities::get_time(), muq::Utilities::PhonebookBusy, rank, muq::Utilities::RetrievingProposal, muq::Utilities::Sampling, setRegionName(), muq::Utilities::Setup, and size.
|
inlineprivate |
Makes sure a region name has been defined, otherwise generates a default region name.
Definition at line 153 of file OTF2Tracer.h.
References regionNames, and nlohmann::to_string().
Referenced by enterRegion(), and leaveRegion().
|
inlineoverridevirtual |
Call this to mark that a certain tracer region has been entered.
Implements muq::Utilities::OTF2TracerBase.
Definition at line 130 of file OTF2Tracer.h.
References ensureRegionName(), evt_writer, and muq::Utilities::get_time().
|
inlineoverridevirtual |
Call this to mark that a certain tracer region has been left.
Implements muq::Utilities::OTF2TracerBase.
Definition at line 141 of file OTF2Tracer.h.
References ensureRegionName(), evt_writer, and muq::Utilities::get_time().
|
inlineprivate |
|
inlineoverridevirtual |
Implements muq::Utilities::OTF2TracerBase.
Definition at line 164 of file OTF2Tracer.h.
References archive, epoch_start, evt_writer, muq::Utilities::get_time(), rank, regionNames, and size.
|
private |
Definition at line 280 of file OTF2Tracer.h.
Referenced by OTF2Tracer(), and write().
|
private |
Definition at line 278 of file OTF2Tracer.h.
Referenced by OTF2Tracer(), and write().
|
private |
Definition at line 281 of file OTF2Tracer.h.
Referenced by enterRegion(), leaveRegion(), OTF2Tracer(), and write().
|
private |
Definition at line 277 of file OTF2Tracer.h.
Referenced by OTF2Tracer(), and write().
|
private |
Definition at line 283 of file OTF2Tracer.h.
Referenced by ensureRegionName(), setRegionName(), and write().
|
private |
Definition at line 276 of file OTF2Tracer.h.
Referenced by OTF2Tracer(), and write().