6 instantiations of UnitStep
Aspire.Dashboard (6)
Otlp\Model\DurationFormatter.cs (6)
20
new
UnitStep
{ Unit = "d", Ticks = TimeSpan.TicksPerDay },
21
new
UnitStep
{ Unit = "h", Ticks = TimeSpan.TicksPerHour },
22
new
UnitStep
{ Unit = "m", Ticks = TimeSpan.TicksPerMinute },
23
new
UnitStep
{ Unit = "s", Ticks = TimeSpan.TicksPerSecond, IsDecimal = true },
24
new
UnitStep
{ Unit = "ms", Ticks = TimeSpan.TicksPerMillisecond, IsDecimal = true },
25
new
UnitStep
{ Unit = "μs", Ticks = TimeSpan.TicksPerMicrosecond, IsDecimal = true },
5 references to UnitStep
Aspire.Dashboard (5)
Otlp\Model\DurationFormatter.cs (5)
18
private static readonly List<
UnitStep
> s_unitSteps = new List<
UnitStep
>
58
private static (
UnitStep
,
UnitStep
) ResolveUnits(long ticks)
62
var
step = s_unitSteps[i];