Search
Preparing search index...
The search index is not available
@amagaki/amagaki
Options
All
Public
Public/Protected
All
Inherited
Menu
@amagaki/amagaki
TimerType
Class TimerType
Hierarchy
TimerType
Index
Constructors
constructor
Properties
key
label
meta
threshold
timers
DEFAULT_
THRESHOLD
Accessors
average
begin
duration
end
length
maximum
minimum
sum
Methods
is
Over
Threshold
timer
to
String
Constructors
constructor
new
Timer
Type
(
key
:
string
, label
?:
string
, meta
?:
any
, threshold
?:
number
)
:
TimerType
Parameters
key:
string
Optional
label:
string
Optional
meta:
any
Optional
threshold:
number
Returns
TimerType
Properties
key
key
:
string
Optional
label
label
?:
string
Optional
meta
meta
?:
any
threshold
threshold
:
number
timers
timers
:
Timer
[]
Static
DEFAULT_
THRESHOLD
DEFAULT_
THRESHOLD
:
number
= 0.2
Accessors
average
get
average
(
)
:
number
Returns
number
begin
get
begin
(
)
:
number
Returns
number
duration
get
duration
(
)
:
number
Returns
number
end
get
end
(
)
:
number
Returns
number
length
get
length
(
)
:
number
Returns
number
maximum
get
maximum
(
)
:
number
The longest timer duration.
Returns
number
minimum
get
minimum
(
)
:
number
The shortest timer duration.
Returns
number
sum
get
sum
(
)
:
number
Returns
number
Methods
is
Over
Threshold
is
Over
Threshold
(
totalDuration
:
number
)
:
boolean
Parameters
totalDuration:
number
Returns
boolean
timer
timer
(
)
:
Timer
Returns
Timer
to
String
to
String
(
)
:
string
Returns
string
Exports
Timer
Type
constructor
key
label
meta
threshold
timers
DEFAULT_
THRESHOLD
average
begin
duration
end
length
maximum
minimum
sum
is
Over
Threshold
timer
to
String
Generated using
TypeDoc
The longest timer duration.