lttng / lttng-scope

A trace viewer and analyzer for LTTng kernel and user space traces
https://lttng.org/beta/#lttng-scope
Eclipse Public License 1.0
28 stars 6 forks source link

Format time control "Span" durations #57

Open ghost opened 6 years ago

ghost commented 6 years ago

The time range durations - or spans - shown in the Time Control are using the s.ns formatting. It could be useful to format minutes, hours and days, if appropriate. For example, show 01:00:20.123000000 instead of 3620.123000000.

Note this is not the same as time stamp formatting! Those are durations not timestamps so should have their own formatting options.

compudj commented 6 years ago

However, even if formatting a timestamp and a time range are two different things, it could all be exposed as a single option to the end user. Typical use will be either both timestamp and timerange as s.ns or both as HH:MM:SS.ns