Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TimerType

Index

Constructors

  • new TimerType(key: string, label?: string, meta?: any, threshold?: number): TimerType

Properties

key: string
label?: string
meta?: any
threshold: number
timers: Timer[]
DEFAULT_THRESHOLD: number = 0.2

Accessors

  • get average(): number
  • get begin(): number
  • get duration(): number
  • get end(): number
  • get length(): number
  • get maximum(): number
  • get minimum(): number
  • get sum(): number

Methods

  • isOverThreshold(totalDuration: number): boolean
  • toString(): string

Generated using TypeDoc