BackendCapabilities
Inspect result.capabilities before interpreting measurements. Unsupported
metrics remain None; sampling observations are separate from exact hits.
Describe measurements a collector can actually provide.
sample_counts identifies collectors that count observed project thread
frames, independently of support for execution hit_counts.
| Attributes |
Whether the collector provides measurements for individual lines. Whether visible line costs can be indexed by function. Whether exact line executions and function calls are available. Whether Python driver memory measurements are available. Whether collection can be restricted to a profiling scope. Whether the collector can attach to an existing process. Whether captured notebook source can receive measurements. Whether driver lines can be correlated with Spark actions. Whether executor-side Python measurements are supported. Whether times are sampling estimates rather than traced intervals. Whether GPU utilization and device memory are available. Whether per-line sampling observations are available independently of hits. |
See Also