typo fix
Vladimir Bauer
8 years ago
| 211 | 211 | |
| 212 | 212 | // ETA returns exponential-weighted-moving-average ETA decorator. |
| 213 | 213 | // |
| 214 | // `style` onfe of [ET_STYLE_GO|ET_STYLE_HHMMSS|ET_STYLE_HHMM|ET_STYLE_MMSS] | |
| 214 | // `style` one of [ET_STYLE_GO|ET_STYLE_HHMMSS|ET_STYLE_HHMM|ET_STYLE_MMSS] | |
| 215 | 215 | // |
| 216 | 216 | // `age` is a decay factor alpha for underlying ewma. |
| 217 | 217 | // General rule of thumb, for the best value: |
| 287 | 287 | |
| 288 | 288 | // Elapsed returns elapsed time decorator. |
| 289 | 289 | // |
| 290 | // `style` onfe of [ET_STYLE_GO|ET_STYLE_HHMMSS|ET_STYLE_HHMM|ET_STYLE_MMSS] | |
| 290 | // `style` one of [ET_STYLE_GO|ET_STYLE_HHMMSS|ET_STYLE_HHMM|ET_STYLE_MMSS] | |
| 291 | 291 | // |
| 292 | 292 | // `wc` optional WC config |
| 293 | 293 | func Elapsed(style int, wc ...WC) Decorator { |