18#ifndef MOTIV_SUBTRACE_HPP
19#define MOTIV_SUBTRACE_HPP
38 [[nodiscard]] otf2::chrono::duration
getRuntime()
const override;
43 [[nodiscard]]
Trace*
subtrace(otf2::chrono::duration from, otf2::chrono::duration to)
override;
60 [[nodiscard]] otf2::chrono::duration
getStartTime()
const override;
65 [[nodiscard]] types::TraceTime
getEndTime()
const override;
70 [[nodiscard]] types::TraceTime
getDuration()
const override;
114 const otf2::chrono::duration &runtime,
115 const otf2::chrono::duration &startTime);
A custom range implementation around std::vector<T>s.
Trace representing a section of a larger trace.
std::map< otf2::definition::location_group *, Range< Slot * >, LocationGroupCmp > slots_
Trace * subtrace(otf2::chrono::duration from, otf2::chrono::duration to) override
Creates a subtrace of the current trace.
Range< CollectiveCommunicationEvent * > collectiveCommunications_
types::TraceTime getEndTime() const override
Returns the end time of the current object.
otf2::chrono::duration startTime_
otf2::chrono::duration getStartTime() const override
Returns the start time of the current object.
Range< Communication * > getCommunications() override
Returns communication objects of the current trace.
std::map< otf2::definition::location_group *, Range< Slot * >, LocationGroupCmp > getSlots() const override
Returns a map of slots of the current trace.
otf2::chrono::duration runtime_
Range< CollectiveCommunicationEvent * > getCollectiveCommunications() override
Returns communication objects of the current trace.
types::TraceTime getDuration() const override
Returns the duration of the current object.
Range< Communication * > communications_
otf2::chrono::duration getRuntime() const override
Returns the runtime of the current trace.
Abstract base class for a trace.
A comparator for otf2::definition::location_group objects.