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

Function initializeMetricsDisplay

examples/worker-rendering/main.ts:439–444  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

437let frameGraph: FrameTimeGraph | null = null;
438
439function initializeMetricsDisplay(): void {
440 const canvas = document.getElementById('frameGraph') as HTMLCanvasElement;
441 if (canvas) {
442 frameGraph = new FrameTimeGraph(canvas);
443 }
444}
445
446function updateMetricsDisplay(metrics: PerformanceMetrics): void {
447 // FPS Display with color coding

Callers 1

initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected