* Performance tracking state for a chart instance. * Circular buffer pattern for exact FPS measurement.
| 75 | * Circular buffer pattern for exact FPS measurement. |
| 76 | */ |
| 77 | interface PerformanceTrackingState { |
| 78 | frameTimestamps: Float64Array; |
| 79 | frameTimestampIndex: number; |
| 80 | frameTimestampCount: number; |
| 81 | totalFrames: number; |
| 82 | totalDroppedFrames: number; |
| 83 | consecutiveDroppedFrames: number; |
| 84 | lastDropTimestamp: number; |
| 85 | startTime: number; |
| 86 | lastFrameTime: number; |
| 87 | |
| 88 | // GPU timing (optional) |
| 89 | gpuTimingEnabled: boolean; |
| 90 | lastCPUTime: number; |
| 91 | lastGPUTime: number; |
| 92 | } |
| 93 | |
| 94 | /** |
| 95 | * Mutable state flags for a chart instance. |
nothing calls this directly
no outgoing calls
no test coverage detected