Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Tasse2014-10-20 20:39:23 +0000
committerPatrick Tasse2014-10-24 22:08:22 +0000
commit9034597bc83bb0d60ff2605e7b1c0fafae886e32 (patch)
tree26ef318b3ced6201ae8213d1c49f2a9e6a00b1d8
parenta565aa0f6913458b7c45037a0be38dc1ad895f42 (diff)
downloadorg.eclipse.linuxtools-9034597bc83bb0d60ff2605e7b1c0fafae886e32.tar.gz
org.eclipse.linuxtools-9034597bc83bb0d60ff2605e7b1c0fafae886e32.tar.xz
org.eclipse.linuxtools-9034597bc83bb0d60ff2605e7b1c0fafae886e32.zip
tmf: Update user guide for time offsetting
Change-Id: I4cd45175c8030bf18dd3013bf5fc91b21676e09c Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/35164 Tested-by: Hudson CI Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
-rw-r--r--lttng/org.eclipse.linuxtools.lttng.help/doc/User-Guide.mediawiki60
-rw-r--r--lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedComputeOffset.pngbin0 -> 54024 bytes
-rw-r--r--lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedDialog.pngbin0 -> 36588 bytes
-rw-r--r--lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedSetReference.pngbin0 -> 78224 bytes
-rw-r--r--lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedSetTarget.pngbin0 -> 78538 bytes
-rw-r--r--lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetApply.pngbin0 -> 16049 bytes
-rw-r--r--lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetBasicDialog.pngbin0 -> 27511 bytes
-rw-r--r--lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetBasicDialogFilled.pngbin0 -> 27567 bytes
-rw-r--r--lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetProperty.pngbin0 -> 22497 bytes
9 files changed, 60 insertions, 0 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng.help/doc/User-Guide.mediawiki b/lttng/org.eclipse.linuxtools.lttng.help/doc/User-Guide.mediawiki
index 49c07f471b..46d5513d73 100644
--- a/lttng/org.eclipse.linuxtools.lttng.help/doc/User-Guide.mediawiki
+++ b/lttng/org.eclipse.linuxtools.lttng.help/doc/User-Guide.mediawiki
@@ -1855,6 +1855,66 @@ Information on the quality of the synchronization, the timestamp transformation
[[Image:images/Sync_view.png|Example of Synchronization view]]
+= Time offsetting =
+
+The time offsetting feature allows the user to apply a fixed offset to all event timestamps in a trace. It can be used, for example, to adjust the start time of a trace, or to manually align the timestamp of events from different traces.
+
+== Basic mode ==
+
+If the time offset to apply is known, it can be applied directly to the trace. In the '''Project Explorer''' view, select a trace, right-click and select '''Apply Time Offset...'''. It is also possible to select multiple traces, experiments or trace folders. All contained traces will be selected.
+
+[[Image:images/TimeOffsetApply.png|Apply Time Offset menu]]
+
+The dialog opens, in '''Basic''' mode.
+
+[[Image:images/TimeOffsetBasicDialog.png|Apply Time Offset dialog - Basic mode]]
+
+Enter a time offset to apply in the '''Offset in seconds''' column, with or without decimals. Then press the '''OK''' button.
+
+[[Image:images/TimeOffsetBasicDialogFilled.png|Apply Time Offset dialog - Basic mode - filled]]
+
+The time offset is applied to the trace and can be seen in the '''time offset''' property in the '''Properties''' view when the trace is selected.
+
+The applied time offset is added to any time offset or time transformation formula currently set for the trace, and the resulting offset replaces any previous setting.
+
+== Advanced mode ==
+
+The time offset can also be computed using selected trace events or manually entered timestamps. After selecting one or more traces in the '''Project Explorer''' view, right-click and select '''Apply Time Offset...'''. In the opened dialog, select the '''Advanced''' button.
+
+[[Image:images/TimeOffsetAdvancedDialog.png|Apply Time Offset dialog - Advanced mode]]
+
+Double-clicking a trace name will open the trace in an editor. The '''Reference Time''' will be set to the trace start time. Selecting any event in the trace editor will set the '''Reference Time''' for that trace to the event's timestamp.
+
+Selecting an event or a time in any view or editor that supports time synchronization will set the '''Target Time''' for every trace in the dialog.
+
+Pressing the '''<<''' button will compute the time offset that should be applied in order to make the reference time align to the target time, provided that both fields are set.
+
+The '''Reference Time''', '''Target Time''' and '''Offset in seconds''' fields can also be edited and entered manually.
+
+To synchronize two events from different traces, first select an event in the trace to which the time offset should be applied, which will set its '''Reference Time''' field.
+
+[[Image:images/TimeOffsetAdvancedSetReference.png|Apply Time Offset dialog - Set Reference Time]]
+
+Then select a corresponding event in the second trace, which will set the '''Target Time''' field for the first trace.
+
+[[Image:images/TimeOffsetAdvancedSetTarget.png|Apply Time Offset dialog - Set Target Time]]
+
+Finally, press the '''<<''' button, which will automatically compute the time offset that should be applied in order to make the first event's timestamp align to the second event's timestamp.
+
+[[Image:images/TimeOffsetAdvancedComputeOffset.png|Apply Time Offset dialog - Compute Offset]]
+
+Then press the '''OK''' button. The time offset is applied to the trace and can be seen in the '''time offset''' property in the '''Properties''' view when the trace is selected.
+
+The applied time offset is added to any time offset or time transformation formula currently set for the trace, and the resulting offset replaces any previous setting.
+
+[[Image:images/TimeOffsetProperty.png|Time Offset - Properties view]]
+
+== Clearing time offset ==
+
+The time offset previously applied can be cleared to reset the trace to its original timestamps. In the '''Project Explorer''' view, select a trace, right-click and select '''Clear Time Offset'''. It is also possible to select multiple traces, experiments or trace folders. All contained traces will be affected.
+
+The time offset or any time transformation formula will be deleted.
+
= Timestamp formatting =
Most views that show timestamps are displayed in the same time format. The unified timestamp format can be changed in the Preferences page. To get to that page, click on '''Window''' -> '''Preferences''' -> '''Tracing''' -> '''Time Format'''. Then a window will show the time format preferences.
diff --git a/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedComputeOffset.png b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedComputeOffset.png
new file mode 100644
index 0000000000..cf53365158
--- /dev/null
+++ b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedComputeOffset.png
Binary files differ
diff --git a/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedDialog.png b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedDialog.png
new file mode 100644
index 0000000000..0f33434034
--- /dev/null
+++ b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedDialog.png
Binary files differ
diff --git a/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedSetReference.png b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedSetReference.png
new file mode 100644
index 0000000000..c84ea37e8a
--- /dev/null
+++ b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedSetReference.png
Binary files differ
diff --git a/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedSetTarget.png b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedSetTarget.png
new file mode 100644
index 0000000000..2a9cf9a653
--- /dev/null
+++ b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetAdvancedSetTarget.png
Binary files differ
diff --git a/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetApply.png b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetApply.png
new file mode 100644
index 0000000000..f6ea526770
--- /dev/null
+++ b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetApply.png
Binary files differ
diff --git a/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetBasicDialog.png b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetBasicDialog.png
new file mode 100644
index 0000000000..8842180ddc
--- /dev/null
+++ b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetBasicDialog.png
Binary files differ
diff --git a/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetBasicDialogFilled.png b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetBasicDialogFilled.png
new file mode 100644
index 0000000000..72085acd87
--- /dev/null
+++ b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetBasicDialogFilled.png
Binary files differ
diff --git a/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetProperty.png b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetProperty.png
new file mode 100644
index 0000000000..5fe7d50f08
--- /dev/null
+++ b/lttng/org.eclipse.linuxtools.lttng.help/doc/images/TimeOffsetProperty.png
Binary files differ

Back to the top