scout_apm v0.3.2 ScoutApm.Internal.Duration

Summary

Types

t()
t() :: %ScoutApm.Internal.Duration{value: number}
unit()
unit() :: :microseconds | :milliseconds | :seconds

Functions

add(duration1, duration2)
add(t, t) :: t
as(duration, atom)
as(t, unit) :: number
max(duration1, duration2)
max(t, t) :: t
min(duration1, duration2)
min(t, t) :: t
new(value, unit)
new(number, unit) :: t
subtract(duration1, duration2)
subtract(t, t) :: t
zero()
zero() :: t