tmf: Bug 433518: Add support for unit of seconds in TmfTimestampFormat
authorPatrick Tasse <patrick.tasse@gmail.com>
Tue, 10 May 2016 20:45:43 +0000 (16:45 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Tue, 17 May 2016 19:35:27 +0000 (15:35 -0400)
commit2d27500ba90b0f29fe3157fc0cb7748d8f7b3e3f
tree6a99f1637dd3cbf71623a54e59152b537629816c
parent83d1b60e3a59a7dc6335224c97474667b549f01d
tmf: Bug 433518: Add support for unit of seconds in TmfTimestampFormat

The T pattern can be augmented with a suffix to indicate the unit of
seconds to be used by the format. The following patterns are supported:
T (sec), Td (deci), Tc (centi), Tm (milli), Tu (micro), Tn (nano).

The S pattern is modified to represent fractions of this unit.

Change-Id: I81014132b7579093da7761861babe0447fd30b0b
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/72840
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/event/TmfTimestampFormatTest.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/timestamp/TmfTimestampFormat.java
This page took 0.025624 seconds and 5 git commands to generate.