goog.stats.BasicStat |
interval
: number
The stat interval, in milliseconds.
|
![]()
Checks that time never goes backwards. If it does (for example,
the user changes their system clock), the object state is cleared.
Arguments:
|
code » | ||||
Returns the count of the statistic over its configured time
interval.
Arguments:
Returns: number
The total count over the tracked interval.
|
code » | ||||
No description.
Returns: number
The interval which over statistics are being
accumulated, in milliseconds.
|
code » | ||||
Returns the magnitute of the largest atomic increment that occurred
during the watched time interval.
Arguments:
Returns: number
The maximum count of this statistic.
|
code » | ||||
Returns the magnitute of the smallest atomic increment that
occurred during the watched time interval.
Arguments:
Returns: number
The minimum count of this statistic.
|
code » | ||||
Computes the end time for the slot that should contain the count
around the given time. This method ensures that every bucket is
aligned on a "this.slotInterval_" millisecond boundary.
|
code » | ||||
![]()
Increments the count of this statistic by the specified amount.
Arguments:
|
code » | ||||
Passes each active slot into a function and accumulates the result.
Arguments:
Returns: number
The result of the reduction.
|
code » | ||||
![]()
Clears any statistics tracked by this object, as though it were
freshly created.
|
code » |
![]()
The number of slots. This value limits the accuracy of the get()
method to (this.interval_ / NUM_SLOTS). A 1-minute statistic would
be accurate to within 2 seconds.
|
Code » |