Struct TensorRtGpuAllocatorRuntimeSnapshot
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Reports copied, pointer-free state from a native IGpuAllocator owner. 报告 native IGpuAllocator owner 复制出的无指针状态。
public readonly struct TensorRtGpuAllocatorRuntimeSnapshot
- Inherited Members
Properties
AllocateAsyncCount
Gets stream-aware allocation callback count. 获取异步分配回调次数。
public ulong AllocateAsyncCount { get; }
Property Value
AllocateCount
Gets synchronous allocation callback count. 获取同步分配回调次数。
public ulong AllocateCount { get; }
Property Value
AttachCount
Gets successful native attach count. 获取 native 挂载次数。
public ulong AttachCount { get; }
Property Value
AttachmentTarget
Gets the current attachment target. 获取当前挂载目标。
public TensorRtGpuAllocatorAttachmentTarget AttachmentTarget { get; }
Property Value
CallbackFailureCount
Gets managed callback failure count. 获取托管回调失败次数。
public ulong CallbackFailureCount { get; }
Property Value
CudaFailureCount
Gets native CUDA failure count. 获取 native CUDA 失败次数。
public ulong CudaFailureCount { get; }
Property Value
DeallocateAsyncCount
Gets stream-aware release callback count. 获取异步释放回调次数。
public ulong DeallocateAsyncCount { get; }
Property Value
DeallocateCount
Gets synchronous release callback count. 获取同步释放回调次数。
public ulong DeallocateCount { get; }
Property Value
DetachCount
Gets successful native detach count. 获取 native 解除挂载次数。
public ulong DetachCount { get; }
Property Value
Diagnostic
Gets copied native diagnostics. 获取复制后的 native 诊断。
public string Diagnostic { get; }
Property Value
InFlightCallbackCount
Gets callbacks currently in flight. 获取当前执行中的回调数。
public ulong InFlightCallbackCount { get; }
Property Value
InvocationCount
Gets total callback invocations. 获取回调总次数。
public ulong InvocationCount { get; }
Property Value
IsAttached
Gets whether the owner is attached. 获取 owner 是否已挂载。
public bool IsAttached { get; }
Property Value
LastAlignment
Gets the last requested alignment. 获取最近请求对齐。
public ulong LastAlignment { get; }
Property Value
LastAllocatorFlags
Gets the last allocator flags. 获取最近 allocator flags。
public uint LastAllocatorFlags { get; }
Property Value
LastCallbackKind
Gets the last callback kind. 获取最近回调类型。
public TensorRtGpuAllocatorCallbackKind LastCallbackKind { get; }
Property Value
LastCallbackSucceeded
Gets whether the last managed callback completed. 获取最近托管回调是否完成。
public bool LastCallbackSucceeded { get; }
Property Value
LastHadCurrentMemory
Gets whether existing memory was reported without exposing it. 获取是否报告已有显存但不暴露地址。
public bool LastHadCurrentMemory { get; }
Property Value
LastHadStream
Gets whether a CUDA stream was reported without exposing it. 获取是否报告 CUDA stream 但不暴露句柄。
public bool LastHadStream { get; }
Property Value
LastOperationSucceeded
Gets whether the last native operation succeeded. 获取最近 native 操作是否成功。
public bool LastOperationSucceeded { get; }
Property Value
LastRequestedSize
Gets the last requested size. 获取最近请求大小。
public ulong LastRequestedSize { get; }
Property Value
LastStatus
Gets the last bridge status. 获取最近 bridge 状态。
public BridgeStatusCode LastStatus { get; }
Property Value
Line
Gets the TensorRT API line. 获取 TensorRT API 版本线。
public TensorRtApiLine Line { get; }
Property Value
LiveAllocationBytes
Gets live owner-tracked bytes. 获取存活的 owner 台账字节数。
public ulong LiveAllocationBytes { get; }
Property Value
LiveAllocationCount
Gets live owner-tracked allocations. 获取存活的 owner 台账分配数。
public ulong LiveAllocationCount { get; }
Property Value
MaxInFlightCallbackCount
Gets peak callback concurrency. 获取回调峰值并发数。
public ulong MaxInFlightCallbackCount { get; }
Property Value
NativePointerExposed
Gets whether this public snapshot exposes any native pointer. 获取该公开快照是否暴露 native pointer。
public bool NativePointerExposed { get; }
Property Value
OwnerId
Gets the stable native owner id. 获取稳定的 native owner id。
public ulong OwnerId { get; }
Property Value
PeakLiveAllocationBytes
Gets peak live bytes. 获取峰值存活字节数。
public ulong PeakLiveAllocationBytes { get; }
Property Value
RealCallbackRuntime
Gets whether a successful real TensorRT allocation callback was observed. 获取是否观察到成功的真实 TensorRT 分配回调。
public bool RealCallbackRuntime { get; }
Property Value
ReallocateCount
Gets reallocation callback count. 获取重分配回调次数。
public ulong ReallocateCount { get; }
Property Value
RejectedCount
Gets managed policy rejection count. 获取托管策略拒绝次数。
public ulong RejectedCount { get; }
Property Value
RuntimeEvidenceKind
Gets the evidence kind. 获取证据类型。
public string RuntimeEvidenceKind { get; }
Property Value
Methods
ToString()
Returns a compact diagnostic representation. 返回紧凑诊断表示。
public override string ToString()