|
Motiv
Marvelous OTF2 Traces Interactive Visualizer
|
Trace representing a section of a larger trace. More...
#include <SubTrace.hpp>


Public Member Functions | |
| std::map< otf2::definition::location_group *, Range< Slot * >, LocationGroupCmp > | getSlots () const override |
| Returns a map of slots of the current trace. More... | |
| otf2::chrono::duration | getRuntime () const override |
| Returns the runtime of the current trace. More... | |
| Trace * | subtrace (otf2::chrono::duration from, otf2::chrono::duration to) override |
| Creates a subtrace of the current trace. More... | |
| Range< Communication * > | getCommunications () override |
| Returns communication objects of the current trace. More... | |
| Range< CollectiveCommunicationEvent * > | getCollectiveCommunications () override |
| Returns communication objects of the current trace. More... | |
| otf2::chrono::duration | getStartTime () const override |
| Returns the start time of the current object. More... | |
| types::TraceTime | getEndTime () const override |
| Returns the end time of the current object. More... | |
| types::TraceTime | getDuration () const override |
| Returns the duration of the current object. More... | |
| SubTrace () | |
| SubTrace (std::map< otf2::definition::location_group *, Range< Slot * >, LocationGroupCmp > &slots, const Range< Communication * > &communications, const Range< CollectiveCommunicationEvent * > &collectiveCommunications, const otf2::chrono::duration &runtime, const otf2::chrono::duration &startTime) | |
| virtual std::map< otf2::definition::location_group *, Range< Slot * >, LocationGroupCmp > | getSlots () const =0 |
| Returns a map of slots of the current trace. More... | |
| virtual Range< Communication * > | getCommunications ()=0 |
| Returns communication objects of the current trace. More... | |
| virtual Range< CollectiveCommunicationEvent * > | getCollectiveCommunications ()=0 |
| Returns collective communication events of the current trace. More... | |
| virtual otf2::chrono::duration | getRuntime () const =0 |
| Returns the runtime of the current trace. More... | |
| virtual Trace * | subtrace (otf2::chrono::duration from, otf2::chrono::duration to)=0 |
| Creates a subtrace of the current trace. More... | |
| virtual types::TraceTime | getStartTime () const =0 |
| Returns the start time of the current object. More... | |
| virtual types::TraceTime | getEndTime () const =0 |
| Returns the end time of the current object. More... | |
| virtual types::TraceTime | getDuration () const |
| Returns the duration of the current object. More... | |
Protected Attributes | |
| std::map< otf2::definition::location_group *, Range< Slot * >, LocationGroupCmp > | slots_ |
| Range< Communication * > | communications_ |
| Range< CollectiveCommunicationEvent * > | collectiveCommunications_ |
| otf2::chrono::duration | runtime_ {} |
| otf2::chrono::duration | startTime_ {} |
Trace representing a section of a larger trace.
Definition at line 28 of file SubTrace.hpp.
| SubTrace::SubTrace | ( | ) |
Initializes an empty subtrace
Definition at line 35 of file SubTrace.cpp.
| SubTrace::SubTrace | ( | std::map< otf2::definition::location_group *, Range< Slot * >, LocationGroupCmp > & | slots, |
| const Range< Communication * > & | communications, | ||
| const Range< CollectiveCommunicationEvent * > & | collectiveCommunications, | ||
| const otf2::chrono::duration & | runtime, | ||
| const otf2::chrono::duration & | startTime | ||
| ) |
Initializes a new instance.
| slots | Range of slots this subtrace covers |
| communications | Range of communications this subtrace covers |
| collectiveCommunications | Range of collective communication this subtrace covers |
| runtime | Runtime of this subtrace |
Definition at line 24 of file SubTrace.cpp.
|
overridevirtual |
Returns communication objects of the current trace.
This pure virtual function returns communication objects of the current trace. The function has to be implemented in the derived classes.
Implements Trace.
Definition at line 54 of file SubTrace.cpp.
|
overridevirtual |
Returns communication objects of the current trace.
This pure virtual function returns communication objects of the current trace. The function has to be implemented in the derived classes.
Implements Trace.
Definition at line 50 of file SubTrace.cpp.
|
overridevirtual |
Returns the duration of the current object.
This function calculates and returns the duration of the current object, which is the difference between its end time and start time. The function can be overridden in the derived classes if necessary.
Reimplemented from TimedElement.
Definition at line 117 of file SubTrace.cpp.
|
overridevirtual |
Returns the end time of the current object.
This pure virtual function returns the end time of the current object. The function has to be implemented in the derived classes.
Implements TimedElement.
Definition at line 113 of file SubTrace.cpp.
|
overridevirtual |
Returns the runtime of the current trace.
This pure virtual function returns the runtime of the current trace. The function has to be implemented in the derived classes.
Implements Trace.
Definition at line 46 of file SubTrace.cpp.
|
overridevirtual |
Returns a map of slots of the current trace.
This pure virtual function returns a map of slots of the current trace. The function has to be implemented in the derived classes.
Implements Trace.
Definition at line 42 of file SubTrace.cpp.
|
overridevirtual |
Returns the start time of the current object.
This pure virtual function returns the start time of the current object. The function has to be implemented in the derived classes.
Implements TimedElement.
Definition at line 58 of file SubTrace.cpp.
|
overridevirtual |
Creates a subtrace of the current trace.
This pure virtual function creates a subtrace of the current trace by returning a new Trace object that only contains elements within the given time range. The function has to be implemented in the derived classes.
| from | Time the the subtrace should start. |
| to | Time the subtrace should end. |
Implements Trace.
Reimplemented in UITrace.
Definition at line 93 of file SubTrace.cpp.
|
protected |
Backing field for collective communications of this subtrace
Definition at line 86 of file SubTrace.hpp.
|
protected |
Backing field for communications of this subtrace
Definition at line 81 of file SubTrace.hpp.
|
protected |
Backing field for the runtime of this subtrace
Definition at line 91 of file SubTrace.hpp.
|
protected |
Backing field for the range of slots of this subtrace
Definition at line 76 of file SubTrace.hpp.
|
protected |
Backing field for the start time of this subtrace
Definition at line 96 of file SubTrace.hpp.