()
| 54975 | return this; |
| 54976 | } |
| 54977 | _checkSampling() { |
| 54978 | if (this._samples === this.sampleSize) { |
| 54979 | this.lastSampleTime = this._time; |
| 54980 | this.lastSampleCount = this._count; |
| 54981 | this.count += this._count; |
| 54982 | this.time += this._time; |
| 54983 | this.samples += this._samples; |
| 54984 | this._time = 0; |
| 54985 | this._count = 0; |
| 54986 | this._samples = 0; |
| 54987 | } |
| 54988 | } |
| 54989 | } |
| 54990 | exports.default = Stat; |
| 54991 |
no outgoing calls
no test coverage detected