6 writes to Threshold
Aspire.Dashboard (6)
Otlp\Model\DurationFormatter.cs (6)
21
new UnitStep { Unit = "d", Ticks = TimeSpan.TicksPerDay,
Threshold
= TimeSpan.TicksPerDay },
22
new UnitStep { Unit = "h", Ticks = TimeSpan.TicksPerHour,
Threshold
= TimeSpan.TicksPerHour },
23
new UnitStep { Unit = "m", Ticks = TimeSpan.TicksPerMinute,
Threshold
= TimeSpan.TicksPerMinute },
24
new UnitStep { Unit = "s", Ticks = TimeSpan.TicksPerSecond,
Threshold
= TimeSpan.TicksPerSecond / 10, IsDecimal = true },
25
new UnitStep { Unit = "ms", Ticks = TimeSpan.TicksPerMillisecond,
Threshold
= TimeSpan.TicksPerMillisecond / 100, IsDecimal = true },
26
new UnitStep { Unit = "μs", Ticks = TimeSpan.TicksPerMicrosecond,
Threshold
= TimeSpan.TicksPerMicrosecond, IsDecimal = true },
1 reference to Threshold
Aspire.Dashboard (1)
Otlp\Model\DurationFormatter.cs (1)
64
var result = i < s_unitSteps.Count - 1 && step.
Threshold
> ticks;