|
Motiv
Marvelous OTF2 Traces Interactive Visualizer
|
Trace facilitating a subtrace optimized for rendering. More...
#include <UITrace.hpp>


Public Member Functions | |
| Trace * | subtrace (otf2::chrono::duration from, otf2::chrono::duration to) override |
| Creates a subtrace of the current trace. More... | |
Public Member Functions inherited from SubTrace | |
| 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... | |
Static Public Member Functions | |
| static UITrace * | forResolution (Trace *trace, otf2::chrono::duration timePerPixel) |
| static UITrace * | forResolution (Trace *trace, int width) |
Additional Inherited Members | |
Protected Attributes inherited from SubTrace | |
| 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 facilitating a subtrace optimized for rendering.
Slots that would be rendered smaller than MIN_SLOT_SIZE_PX pixels are grouped together to a single slot. Instead of all slots that fit inside MIN_SLOT_SIZE_PX the longest slot with the most important kind is shown.
Definition at line 48 of file UITrace.hpp.
Wraps a trace into a UITrace optimized for rendering performance.
| trace | original trace to be optimized |
| width | the width in px for which the trace should be optimized |
Definition at line 39 of file UITrace.cpp.
Wraps a trace into a UITrace optimized for rendering performance.
| trace | original trace to be optimized |
| timePerPixel | duration that fits into one pixel |
Definition at line 43 of file UITrace.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. |
Reimplemented from SubTrace.
Definition at line 214 of file UITrace.cpp.