зеркало из https://github.com/mozilla/glean.git
Document counter type
This commit is contained in:
Родитель
f100884ec5
Коммит
3b8ac29017
|
@ -0,0 +1,19 @@
|
|||
# Counter
|
||||
|
||||
Count how often something happens.
|
||||
|
||||
## Methods
|
||||
|
||||
* `add(amount)` - Increase the counter by `amount`.
|
||||
|
||||
## Limits
|
||||
|
||||
* Only increments, saturates at the limits of a 32-bit unsigned integer
|
||||
|
||||
## Examples
|
||||
|
||||
* How often a certain button was pressed?
|
||||
|
||||
## Recorded errors
|
||||
|
||||
* None.
|
Загрузка…
Ссылка в новой задаче