load_timing

TekHSI waveform transfer timing instrumentation.

WaveformTransferTiming dataclass

WaveformTransferTiming(
    kind: str,
    transfer_ms: float,
    publish_ms: float,
    record_length: int,
    bytes_per_sample: int,
    num_frames: int,
    summary_frame_count: int = 0,
)

Timing for gRPC sample transfer and client-side assembly.

data_frame_count property

data_frame_count: int

Number of data (non-summary) frames in the transfer.

fastframe property

fastframe: bool

Whether this timing record describes a multi-frame (FastFrame) transfer.

kind instance-attribute

kind: str

Waveform class: analog, digital, or iq.

publish_ms instance-attribute

publish_ms: float

Assign raw arrays into the waveform object (FastFrame only).

record_length instance-attribute

record_length: int

Samples per frame (or total samples for a single-frame capture).

total_ms property

total_ms: float

Combined transfer plus publish time, in milliseconds.

total_raw_bytes property

total_raw_bytes: int

Total raw byte count across all frames before normalization.

total_samples property

total_samples: int

Total sample count across all frames (num_frames * record_length).

transfer_mbps property

transfer_mbps: float

Effective gRPC transfer throughput, in megabits per second.

transfer_ms instance-attribute

transfer_ms: float

gRPC stream receive plus assembly into sample arrays.

format_summary

format_summary() -> str

Human-readable size and timing summary.