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
AttachCount
Gets successful attach count. 获取成功 attach 次数。
public ulong AttachCount { get; }
Property Value
DetachCount
Gets successful detach count. 获取成功 detach 次数。
public ulong DetachCount { get; }
Property Value
Diagnostic
Gets the copied native diagnostic. 获取复制出的 native 诊断。
public string Diagnostic { get; }
Property Value
FailureCount
Gets callback or allocation failure count. 获取 callback 或分配失败次数。
public ulong FailureCount { get; }
Property Value
InFlightCallbackCount
Gets callbacks currently in flight. 获取当前 in-flight callback 数量。
public ulong InFlightCallbackCount { get; }
Property Value
InvocationCount
Gets total native callback invocations. 获取 native callback 调用总数。
public ulong InvocationCount { get; }
Property Value
IsAttached
Gets whether the native owner is attached. 获取 native owner 是否已绑定。
public bool IsAttached { get; }
Property Value
LastAlignment
Gets the last requested alignment. 获取最近请求的对齐。
public ulong LastAlignment { get; }
Property Value
LastAllocationSucceeded
Gets whether the last native allocation succeeded. 获取最近 native 分配是否成功。
public bool LastAllocationSucceeded { get; }
Property Value
LastCallbackKind
Gets the last callback operation. 获取最近 callback 操作。
public TensorRtOutputAllocatorCallbackKind LastCallbackKind { get; }
Property Value
LastCallbackSucceeded
Gets whether the last managed callback succeeded. 获取最近托管 callback 是否成功。
public bool LastCallbackSucceeded { get; }
Property Value
LastHadCurrentMemory
Gets whether TensorRT supplied current memory on the last request. 获取最近请求是否带有 current memory。
public bool LastHadCurrentMemory { get; }
Property Value
LastHadStream
Gets whether TensorRT supplied a CUDA stream on the last request. 获取最近请求是否带有 CUDA stream。
public bool LastHadStream { get; }
Property Value
LastRequestedSize
Gets the last requested output size. 获取最近请求的输出大小。
public ulong LastRequestedSize { get; }
Property Value
LastStatus
Gets the last bridge status. 获取最近 bridge status。
public BridgeStatusCode LastStatus { get; }
Property Value
Line
Gets the TensorRT API line. 获取 TensorRT API 版本线。
public TensorRtApiLine Line { get; }
Property Value
LiveAllocationBytes
Gets live native allocation bytes. 获取当前 native 分配字节数。
public ulong LiveAllocationBytes { get; }
Property Value
LiveAllocationCount
Gets live owner allocation count. 获取 owner 当前存活分配数量。
public ulong LiveAllocationCount { get; }
Property Value
MaxInFlightCallbackCount
Gets maximum callback concurrency. 获取最大 callback 并发数。
public ulong MaxInFlightCallbackCount { get; }
Property Value
NativePointerExposed
Gets whether any native pointer is exposed by this snapshot. 获取该快照是否暴露 native pointer。
public bool NativePointerExposed { get; }
Property Value
NotifyShapeCount
Gets shape-notification count. 获取 shape 通知次数。
public ulong NotifyShapeCount { get; }
Property Value
OwnerId
Gets the native owner id. 获取 native owner id。
public ulong OwnerId { get; }
Property Value
PeakLiveAllocationBytes
Gets peak live native allocation bytes. 获取峰值 native 分配字节数。
public ulong PeakLiveAllocationBytes { get; }
Property Value
RealCallbackRuntime
Gets whether the owner observed a successful real TensorRT allocation callback. 获取 owner 是否观察到成功的真实 TensorRT 分配 callback。
public bool RealCallbackRuntime { get; }
Property Value
ReallocateOutputCount
Gets output-reallocation request count. 获取输出重分配请求次数。
public ulong ReallocateOutputCount { get; }
Property Value
ReleaseCount
Gets successfully released allocation count. 获取成功释放的分配数量。
public ulong ReleaseCount { get; }
Property Value
ReuseCount
Gets owner allocation reuse count. 获取 owner 分配复用次数。
public ulong ReuseCount { get; }
Property Value
RuntimeEvidenceKind
Gets the runtime evidence kind. 获取运行证据类型。
public string RuntimeEvidenceKind { get; }
Property Value
ShapeDimensions
Gets copied output shape dimensions. 获取复制出的输出 shape。
public ReadOnlyCollection<long> ShapeDimensions { get; }
Property Value
TensorName
Gets the copied tensor name. 获取复制出的 tensor 名称。
public string TensorName { get; }
Property Value
Methods
ToString()
Returns a compact diagnostic representation. 返回紧凑诊断表示。
public override string ToString()