scout_apm v1.0.7 ScoutApm.Internal.Duration

Link to this section Summary

Link to this section Types

Link to this type

t()

t() :: %ScoutApm.Internal.Duration{value: number()}
Link to this type

unit()

unit() :: :microseconds | :milliseconds | :seconds

Link to this section Functions

Link to this function

add(duration1, duration2)

add(t(), t()) :: t()
Link to this function

as(duration, atom)

as(t(), unit()) :: number()
Link to this function

max(duration1, duration2)

max(t(), t()) :: t()
Link to this function

min(duration1, duration2)

min(t(), t()) :: t()
Link to this function

new(value, unit)

new(number(), unit()) :: t()
Link to this function

subtract(duration1, duration2)

subtract(t(), t()) :: t()
Link to this function

zero()

zero() :: t()