21#include <otf2xx/otf2.hpp>
23#include "src/types.hpp"
24#include "TimedElement.hpp"
49 Slot(
const otf2::chrono::duration &start,
const otf2::chrono::duration &end,
50 otf2::definition::location *
location, otf2::definition::region *
region);
79 [[nodiscard]] SlotKind
getKind()
const;
84 [[nodiscard]] types::TraceTime
getStartTime()
const override;
89 [[nodiscard]] types::TraceTime
getEndTime()
const override;
93 BUILDER_FIELD(otf2::chrono::duration, start)
94 BUILDER_FIELD(otf2::chrono::duration, end)
95 BUILDER_FIELD(otf2::definition::location * ,
location)
96 BUILDER_FIELD(otf2::definition::region * ,
region),
A Slot represents a visual slot to be rendered in the UI. It contains the information of a location.
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.
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.
otf2::definition::location * location
Location of the slot (thread) containing the location group (MPI rank)
A base class for all elements with a start and end time.