()
| 54961 | return this.time > 0 ? this.samples / (this.time / 1000) : 0; |
| 54962 | } |
| 54963 | reset() { |
| 54964 | this.time = 0; |
| 54965 | this.count = 0; |
| 54966 | this.samples = 0; |
| 54967 | this.lastTiming = 0; |
| 54968 | this.lastSampleTime = 0; |
| 54969 | this.lastSampleCount = 0; |
| 54970 | this._count = 0; |
| 54971 | this._time = 0; |
| 54972 | this._samples = 0; |
| 54973 | this._startTime = 0; |
| 54974 | this._timerPending = false; |
| 54975 | return this; |
| 54976 | } |
| 54977 | _checkSampling() { |
| 54978 | if (this._samples === this.sampleSize) { |
| 54979 | this.lastSampleTime = this._time; |
no outgoing calls
no test coverage detected