Table of Contents

Struct TensorRtOutputAllocatorRuntimeSnapshot

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Reports pointer-free state copied from a native TensorRT output allocator owner. 表示从 native TensorRT output allocator owner 复制出的无指针运行状态。

public readonly struct TensorRtOutputAllocatorRuntimeSnapshot
Inherited Members

Properties

AllocationCount

Gets native CUDA allocation count. 获取 native CUDA 分配次数。

public ulong AllocationCount { get; }

Property Value

ulong

AttachCount

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

public ulong AttachCount { get; }

Property Value

ulong

DetachCount

Gets 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 callback or allocation failure count. 获取 callback 或分配失败次数。

public ulong FailureCount { get; }

Property Value

ulong

InFlightCallbackCount

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

public ulong InFlightCallbackCount { get; }

Property Value

ulong

InvocationCount

Gets total native callback invocations. 获取 native callback 调用总数。

public ulong InvocationCount { get; }

Property Value

ulong

IsAttached

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

public bool IsAttached { get; }

Property Value

bool

LastAlignment

Gets the last requested alignment. 获取最近请求的对齐。

public ulong LastAlignment { get; }

Property Value

ulong

LastAllocationSucceeded

Gets whether the last native allocation succeeded. 获取最近 native 分配是否成功。

public bool LastAllocationSucceeded { get; }

Property Value

bool

LastCallbackKind

Gets the last callback operation. 获取最近 callback 操作。

public TensorRtOutputAllocatorCallbackKind LastCallbackKind { get; }

Property Value

TensorRtOutputAllocatorCallbackKind

LastCallbackSucceeded

Gets whether the last managed callback succeeded. 获取最近托管 callback 是否成功。

public bool LastCallbackSucceeded { get; }

Property Value

bool

LastHadCurrentMemory

Gets whether TensorRT supplied current memory on the last request. 获取最近请求是否带有 current memory。

public bool LastHadCurrentMemory { get; }

Property Value

bool

LastHadStream

Gets whether TensorRT supplied a CUDA stream on the last request. 获取最近请求是否带有 CUDA stream。

public bool LastHadStream { get; }

Property Value

bool

LastRequestedSize

Gets the last requested output size. 获取最近请求的输出大小。

public ulong LastRequestedSize { get; }

Property Value

ulong

LastStatus

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

public BridgeStatusCode LastStatus { get; }

Property Value

BridgeStatusCode

Line

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

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

LiveAllocationBytes

Gets live native allocation bytes. 获取当前 native 分配字节数。

public ulong LiveAllocationBytes { get; }

Property Value

ulong

LiveAllocationCount

Gets live owner allocation count. 获取 owner 当前存活分配数量。

public ulong LiveAllocationCount { get; }

Property Value

ulong

MaxInFlightCallbackCount

Gets maximum callback concurrency. 获取最大 callback 并发数。

public ulong MaxInFlightCallbackCount { get; }

Property Value

ulong

NativePointerExposed

Gets whether any native pointer is exposed by this snapshot. 获取该快照是否暴露 native pointer。

public bool NativePointerExposed { get; }

Property Value

bool

NotifyShapeCount

Gets shape-notification count. 获取 shape 通知次数。

public ulong NotifyShapeCount { get; }

Property Value

ulong

OwnerId

Gets the native owner id. 获取 native owner id。

public ulong OwnerId { get; }

Property Value

ulong

PeakLiveAllocationBytes

Gets peak live native allocation bytes. 获取峰值 native 分配字节数。

public ulong PeakLiveAllocationBytes { get; }

Property Value

ulong

RealCallbackRuntime

Gets whether the owner observed a successful real TensorRT allocation callback. 获取 owner 是否观察到成功的真实 TensorRT 分配 callback。

public bool RealCallbackRuntime { get; }

Property Value

bool

ReallocateOutputCount

Gets output-reallocation request count. 获取输出重分配请求次数。

public ulong ReallocateOutputCount { get; }

Property Value

ulong

ReleaseCount

Gets successfully released allocation count. 获取成功释放的分配数量。

public ulong ReleaseCount { get; }

Property Value

ulong

ReuseCount

Gets owner allocation reuse count. 获取 owner 分配复用次数。

public ulong ReuseCount { get; }

Property Value

ulong

RuntimeEvidenceKind

Gets the runtime evidence kind. 获取运行证据类型。

public string RuntimeEvidenceKind { get; }

Property Value

string

ShapeDimensions

Gets copied output 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 representation. 返回紧凑诊断表示。

public override string ToString()

Returns

string