MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / setGPUTiming

Method setGPUTiming

src/worker/ChartGPUWorkerProxy.ts:1660–1670  ·  view source on GitHub ↗

* Enables or disables GPU timing for performance metrics. * GPU timing requires the 'timestamp-query' WebGPU feature. * * @param enabled - Whether to enable GPU timing

(enabled: boolean)

Source from the content-addressed store, hash-verified

1658 * @param enabled - Whether to enable GPU timing
1659 */
1660 setGPUTiming(enabled: boolean): void {
1661 if (this.isDisposed) {
1662 return; // Silent no-op for disposed charts
1663 }
1664
1665 this.sendMessage({
1666 type: 'setGPUTiming',
1667 chartId: this.chartId,
1668 enabled,
1669 });
1670 }
1671
1672 // =============================================================================
1673 // Worker Communication

Callers

nothing calls this directly

Calls 1

sendMessageMethod · 0.95

Tested by

no test coverage detected