MCPcopy Create free account
hub / github.com/tensorflow/tfjs / timerAvailable

Method timerAvailable

tfjs-backend-webgl/src/backend_webgl.ts:545–547  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

543 }
544
545 override timerAvailable(): boolean {
546 return env().getNumber('WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_RELIABLE') > 0;
547 }
548
549 override time(f: () => void): Promise<WebGLTimingInfo> {
550 const oldActiveTimers = this.activeTimers;

Callers

nothing calls this directly

Calls 2

envFunction · 0.90
getNumberMethod · 0.80

Tested by

no test coverage detected