Table of Contents

Class TensorRtStreamReaderRuntimeSnapshot

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Copied, pointer-free diagnostics for a native TensorRT IStreamReaderV2 owner. 原生 TensorRT IStreamReaderV2 所有者的复制型无指针诊断信息。

public sealed class TensorRtStreamReaderRuntimeSnapshot
Inheritance
TensorRtStreamReaderRuntimeSnapshot
Inherited Members

Properties

BytesRead

Gets the cumulative bytes returned to TensorRT. 获取累计返回给 TensorRT 的字节数。

public ulong BytesRead { get; }

Property Value

ulong

DeserializeAttemptCount

Gets the number of real TensorRT deserialize attempts. 获取真实 TensorRT 反序列化尝试次数。

public ulong DeserializeAttemptCount { get; }

Property Value

ulong

DeviceReadCount

Gets the number of reads copied to device or managed destinations. 获取复制到设备或托管目标的读取次数。

public ulong DeviceReadCount { get; }

Property Value

ulong

FailedDeserializeCount

Gets the number of failed real TensorRT deserializations. 获取真实 TensorRT 反序列化失败次数。

public ulong FailedDeserializeCount { get; }

Property Value

ulong

FailureCount

Gets the cumulative native callback and deserialize failure count. 获取原生回调与反序列化的累计失败次数。

public ulong FailureCount { get; }

Property Value

ulong

HostReadCount

Gets the number of reads copied to host destinations. 获取复制到主机目标的读取次数。

public ulong HostReadCount { get; }

Property Value

ulong

InFlightCallbackCount

Gets the current in-flight callback count. 获取当前正在执行的回调数。

public ulong InFlightCallbackCount { get; }

Property Value

ulong

IsDeserializing

Gets whether a native deserialize call is currently active. 获取当前是否存在活动的原生反序列化调用。

public bool IsDeserializing { get; }

Property Value

bool

LastDiagnostic

Gets a copied diagnostic string without native pointers. 获取不含原生指针的复制型诊断字符串。

public string LastDiagnostic { get; }

Property Value

string

LastHadCudaStream

Gets whether the most recent read supplied a CUDA stream. 获取最近一次读取是否提供了 CUDA stream。

public bool LastHadCudaStream { get; }

Property Value

bool

LastOperationSucceeded

Gets whether the most recent operation succeeded. 获取最近一次操作是否成功。

public bool LastOperationSucceeded { get; }

Property Value

bool

LastReadToDevice

Gets whether the most recent read destination was device or managed memory. 获取最近一次读取目标是否为设备或托管内存。

public bool LastReadToDevice { get; }

Property Value

bool

LastSeekPosition

Gets the origin of the most recent seek. 获取最近一次定位的基准位置。

public TensorRtStreamSeekPosition LastSeekPosition { get; }

Property Value

TensorRtStreamSeekPosition

LastStatus

Gets the copied bridge status for the most recent operation. 获取最近一次操作复制后的 bridge 状态。

public BridgeStatusCode LastStatus { get; }

Property Value

BridgeStatusCode

Length

Gets the immutable source length in bytes. 获取不可变数据源的字节长度。

public ulong Length { get; }

Property Value

ulong

Line

Gets the TensorRT API line. 获取 TensorRT API 版本线。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

MaxInFlightCallbackCount

Gets the maximum concurrent callback count. 获取最大并发回调数。

public ulong MaxInFlightCallbackCount { get; }

Property Value

ulong

OwnerId

Gets the native owner identity copied as a numeric value. 获取以数值复制的原生所有者标识。

public ulong OwnerId { get; }

Property Value

ulong

Position

Gets the current native reader position. 获取原生 reader 的当前位置。

public ulong Position { get; }

Property Value

ulong

ReadCount

Gets the number of IStreamReaderV2 read callbacks. 获取 IStreamReaderV2 读取回调次数。

public ulong ReadCount { get; }

Property Value

ulong

RequestedBytes

Gets the cumulative bytes requested by TensorRT. 获取 TensorRT 累计请求的字节数。

public ulong RequestedBytes { get; }

Property Value

ulong

SeekCount

Gets the number of IStreamReaderV2 seek callbacks. 获取 IStreamReaderV2 定位回调次数。

public ulong SeekCount { get; }

Property Value

ulong

SuccessfulDeserializeCount

Gets the number of successful real TensorRT deserializations. 获取真实 TensorRT 反序列化成功次数。

public ulong SuccessfulDeserializeCount { get; }

Property Value

ulong