MCPcopy Index your code
hub / github.com/microsoft/SandDance / reset

Method reset

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

Source from the content-addressed store, hash-verified

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;

Callers 10

constructorMethod · 0.95
resetMethod · 0.45
handleActionMethod · 0.45
setInsightMethod · 0.45
doUnfilterMethod · 0.45
sanddance-app.jsFile · 0.45
ContextFunction · 0.45
resetMethod · 0.45
TupleStoreFunction · 0.45
cellFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected