Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tensorflow/tfjs
/ timerAvailable
Method
timerAvailable
tfjs-core/src/backends/backend.ts:90–90 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
88
export
interface
BackendTimer {
89
// check if backend timer is available
90
timerAvailable(): boolean;
91
time(f: () => void): Promise<BackendTimingInfo>;
92
}
93
Callers
1
profileKernel
Method · 0.65
Implementers
3
TestBackendTimer
tfjs-core/src/profiler_test.ts
KernelBackend
tfjs-core/src/backends/backend.ts
MathBackendWebGL
tfjs-backend-webgl/src/backend_webgl.t
Calls
no outgoing calls
Tested by
no test coverage detected