Interface: GpuBufferInstrument
Defined in: src/batteries/llm/chat_common/gpu_budget.ts:162
A handle returned by instrumentGpuBuffers: read live samples, then uninstall() to restore.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
sample | () => GpuBufferSample | Take a live sample of GPU buffer usage. | src/batteries/llm/chat_common/gpu_budget.ts:164 |
uninstall | () => void | Restore the original createBuffer/destroy (idempotent). Call when done measuring. | src/batteries/llm/chat_common/gpu_budget.ts:166 |