MCPcopy Create free account
hub / github.com/microsoft/SandDance / timeEnd

Method timeEnd

docs/app/js/sanddance-app.js:54938–54944  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54936 return this;
54937 }
54938 timeEnd() {
54939 if (!this._timerPending) return this;
54940 this.addTime((0, _hiResTimestampDefault.default)() - this._startTime);
54941 this._timerPending = false;
54942 this._checkSampling();
54943 return this;
54944 }
54945 getSampleAverageCount() {
54946 return this.sampleSize > 0 ? this.lastSampleCount / this.sampleSize : 0;
54947 }

Callers

nothing calls this directly

Calls 2

addTimeMethod · 0.95
_checkSamplingMethod · 0.95

Tested by

no test coverage detected