Table of Contents

Struct TensorRtDebugListenerRuntimeSnapshot

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Reports copied runtime state from a native TensorRT IDebugListener owner. 表示从 native TensorRT IDebugListener owner 复制出的运行时状态。

public readonly struct TensorRtDebugListenerRuntimeSnapshot
Inherited Members

Properties

AttachCount

Gets the successful attach count. 获取成功 attach 次数。

public ulong AttachCount { get; }

Property Value

ulong

BorrowedPointerExposed

Gets whether any borrowed tensor or stream pointer is exposed. 获取是否暴露 borrowed tensor 或 stream pointer。

public bool BorrowedPointerExposed { get; }

Property Value

bool

DataType

Gets the copied tensor data type. 获取复制出的 tensor 数据类型。

public TensorRtDataType DataType { get; }

Property Value

TensorRtDataType

DetachCount

Gets the successful detach count. 获取成功 detach 次数。

public ulong DetachCount { get; }

Property Value

ulong

Diagnostic

Gets the copied native diagnostic. 获取复制出的 native 诊断。

public string Diagnostic { get; }

Property Value

string

FailureCount

Gets the callback failure count. 获取 callback 失败次数。

public ulong FailureCount { get; }

Property Value

ulong

InFlightCallbackCount

Gets the callbacks currently in flight. 获取当前 in-flight callback 数量。

public ulong InFlightCallbackCount { get; }

Property Value

ulong

InvocationCount

Gets the native vtable invocation count. 获取 native vtable 调用次数。

public ulong InvocationCount { get; }

Property Value

ulong

IsAttached

Gets whether the native listener is attached. 获取 native listener 是否已绑定。

public bool IsAttached { get; }

Property Value

bool

IsRealCallbackRuntimeProof

Gets whether the copied local evidence proves native callback invocation. 获取本地复制证据是否证明 native callback 已调用。

public bool IsRealCallbackRuntimeProof { get; }

Property Value

bool

LastCallbackSucceeded

Gets whether the last callback completed successfully. 获取最近 callback 是否成功。

public bool LastCallbackSucceeded { get; }

Property Value

bool

LastStatus

Gets the last copied bridge status. 获取最近 bridge status。

public BridgeStatusCode LastStatus { get; }

Property Value

BridgeStatusCode

Line

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

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

Location

Gets the copied tensor location. 获取复制出的 tensor 位置。

public TensorRtTensorLocation Location { get; }

Property Value

TensorRtTensorLocation

MaxInFlightCallbackCount

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

public ulong MaxInFlightCallbackCount { get; }

Property Value

ulong

OwnerId

Gets the copied native owner id. 获取复制出的 native owner id。

public ulong OwnerId { get; }

Property Value

ulong

RealCallbackRuntime

Gets whether a real TensorRT callback was observed successfully. 获取是否已成功观察到真实 TensorRT callback。

public bool RealCallbackRuntime { get; }

Property Value

bool

RuntimeEvidenceKind

Gets the evidence classification. 获取证据分类。

public string RuntimeEvidenceKind { get; }

Property Value

string

ShapeDimensions

Gets copied shape dimensions. 获取复制出的 shape 维度。

public ReadOnlyCollection<long> ShapeDimensions { get; }

Property Value

ReadOnlyCollection<long>

TensorName

Gets the copied tensor name. 获取复制出的 tensor 名称。

public string TensorName { get; }

Property Value

string

Methods

ToString()

Returns a compact diagnostic string. 返回紧凑诊断字符串。

public override string ToString()

Returns

string