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

Method getSampleAverageTime

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

Source from the content-addressed store, hash-verified

54946 return this.sampleSize > 0 ? this.lastSampleCount / this.sampleSize : 0;
54947 }
54948 getSampleAverageTime() {
54949 return this.sampleSize > 0 ? this.lastSampleTime / this.sampleSize : 0;
54950 }
54951 getSampleHz() {
54952 return this.lastSampleTime > 0 ? this.sampleSize / (this.lastSampleTime / 1000) : 0;
54953 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected