22Slot::Slot(
const otf2::chrono::duration &start,
const otf2::chrono::duration &anEnd,
23 otf2::definition::location* location, otf2::definition::region* region) :
31 auto regionName = this->
region->name().str();
32 if (regionName.starts_with(
"MPI_")) {
34 }
else if (regionName.starts_with(
"!$omp")) {
types::TraceTime endTime
End time of the slot relative to the trace start time.
types::TraceTime getStartTime() const override
Returns the start time of the current object.
Slot(const otf2::chrono::duration &start, const otf2::chrono::duration &end, otf2::definition::location *location, otf2::definition::region *region)
Creates a new instance of the Slot class.
types::TraceTime getEndTime() const override
Returns the start time of the current object.
SlotKind getKind() const
Returns the kind of the current Slot object.
otf2::chrono::duration startTime
Start time of the slot relative to the trace start time.
otf2::definition::region * region
Region the slot occurred in. For example, the source file and line.