Table of Contents

Struct TensorRtAllocatorLedgerSafetyGateResult

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Reports copied allocator ledger safety gate diagnostics. 表示复制出的 allocator ledger 安全门禁诊断信息。

public readonly struct TensorRtAllocatorLedgerSafetyGateResult
Inherited Members

Remarks

This result is a safety gate only. RealCallbackRuntime and IsRealCallbackRuntimeProof are always false until a full package consumer smoke emits complete real-callback-runtime evidence. 该结果只是安全门禁。除非 full package consumer smoke 输出完整 real-callback-runtime 证据, RealCallbackRuntime 与 IsRealCallbackRuntimeProof 始终为 false。

Properties

ActivePrototypeCallCount

Gets the active prototype call count. 获取 active prototype 调用数量。

public int ActivePrototypeCallCount { get; }

Property Value

int

BlockedPrerequisiteCount

Gets the copied blocked prerequisite count. 获取复制出的阻断前置条件数量。

public int BlockedPrerequisiteCount { get; }

Property Value

int

BlockedPrerequisites

Gets copied blocked prerequisites. 获取复制出的阻断前置条件。

public ReadOnlyCollection<string> BlockedPrerequisites { get; }

Property Value

ReadOnlyCollection<string>

CallbackKind

Gets the callback kind represented by this diagnostic. 获取该诊断代表的 callback 类型。

public string CallbackKind { get; }

Property Value

string

CallbackStatePinned

Gets whether the callback state remains pinned. 获取 callback state 是否仍被 pin 住。

public bool CallbackStatePinned { get; }

Property Value

bool

CanAttemptRuntimeProof

Gets whether all prerequisites are satisfied to attempt real runtime proof. 获取是否满足尝试真实 runtime proof 的全部前置条件。

public bool CanAttemptRuntimeProof { get; }

Property Value

bool

DeferredRowsStillRequired

Gets whether direct deferred callback rows must remain deferred. 获取直接 deferred callback 行是否仍必须保留。

public bool DeferredRowsStillRequired { get; }

Property Value

bool

DelegatePinned

Gets whether the delegate remains pinned. 获取 delegate 是否仍被 pin 住。

public bool DelegatePinned { get; }

Property Value

bool

DevicePointerLedgerRuntimeReady

Gets whether runtime device pointer ledgering is ready. 获取 runtime device pointer ledger 是否就绪。

public bool DevicePointerLedgerRuntimeReady { get; }

Property Value

bool

Diagnostic

Gets a copied diagnostic summary. 获取复制出的诊断摘要。

public string Diagnostic { get; }

Property Value

string

DisposeReleaseReady

Gets whether dispose release evidence is present. 获取 dispose release 证据是否存在。

public bool DisposeReleaseReady { get; }

Property Value

bool

DisposeRequested

Gets whether dispose has been requested. 获取是否已请求释放。

public bool DisposeRequested { get; }

Property Value

bool

EvidenceKind

Gets the marker used by readiness to identify this safety gate. 获取 readiness 用于识别该安全门禁的 marker。

public string EvidenceKind { get; }

Property Value

string

FailureCount

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

public long FailureCount { get; }

Property Value

long

FullPackageConsumerRuntimeEvidenceReady

Gets whether full package consumer runtime evidence is ready. 获取 full package consumer runtime 证据是否就绪。

public bool FullPackageConsumerRuntimeEvidenceReady { get; }

Property Value

bool

HasLiveAllocation

Gets whether the synthetic ledger has live allocation state. 获取合成 ledger 是否存在 live allocation 状态。

public bool HasLiveAllocation { get; }

Property Value

bool

InFlightCallbackCount

Gets the current in-flight callback count. 获取当前 in-flight callback 数量。

public long InFlightCallbackCount { get; }

Property Value

long

InternalPrototypeStatus

Gets the internal runtime prototype status. 获取 internal runtime prototype 状态。

public BridgeStatusCode InternalPrototypeStatus { get; }

Property Value

BridgeStatusCode

InvocationCount

Gets the internal prototype invocation count. 获取 internal prototype 调用次数。

public long InvocationCount { get; }

Property Value

long

IsAttached

Gets whether this diagnostic owner is attached to TensorRT. 获取该诊断 owner 是否已绑定到 TensorRT。

public bool IsAttached { get; }

Property Value

bool

IsRealCallbackRuntimeProof

Gets whether readiness may promote this result as real callback runtime proof. 获取 readiness 是否可将该结果提升为真实 callback runtime proof。

public bool IsRealCallbackRuntimeProof { get; }

Property Value

bool

LastAllocationId

Gets the last synthetic allocation id. 获取最近一次合成 allocation id。

public ulong LastAllocationId { get; }

Property Value

ulong

LastDiagnostic

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

public string LastDiagnostic { get; }

Property Value

string

LastReleaseAllocationId

Gets the last synthetic release allocation id. 获取最近一次合成 release allocation id。

public ulong LastReleaseAllocationId { get; }

Property Value

ulong

LastStatus

Gets the combined status for the safety gate. 获取安全门禁的合并状态。

public BridgeStatusCode LastStatus { get; }

Property Value

BridgeStatusCode

LastStreamValue

Gets the last copied synthetic stream value. 获取最近一次复制出的合成 stream 值。

public ulong LastStreamValue { get; }

Property Value

ulong

LedgerAllocationCount

Gets copied ledger allocation count. 获取复制出的 ledger allocation 次数。

public ulong LedgerAllocationCount { get; }

Property Value

ulong

LedgerFailureCount

Gets copied ledger failure count. 获取复制出的 ledger 失败次数。

public ulong LedgerFailureCount { get; }

Property Value

ulong

LedgerReleaseCount

Gets copied ledger release count. 获取复制出的 ledger release 次数。

public ulong LedgerReleaseCount { get; }

Property Value

ulong

Line

Gets the TensorRT API line used by the native ledger diagnostic. 获取 native ledger 诊断使用的 TensorRT API line。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

LineSpecificAttachDetachReady

Gets whether line-specific TensorRT attach/detach is ready. 获取按 TensorRT line 区分的 attach/detach 是否就绪。

public bool LineSpecificAttachDetachReady { get; }

Property Value

bool

ManagedKeepAliveReady

Gets whether the managed keep-alive state is ready before dispose. 获取 dispose 前托管 keep-alive 状态是否就绪。

public bool ManagedKeepAliveReady { get; }

Property Value

bool

MaxInFlightCallbackCount

Gets the maximum observed in-flight callback count. 获取观察到的最大 in-flight callback 数量。

public long MaxInFlightCallbackCount { get; }

Property Value

long

NativeAttachState

Gets the copied native attach state. 获取复制出的 native attach 状态。

public int NativeAttachState { get; }

Property Value

int

NativeLastOperation

Gets the copied native ledger last operation. 获取复制出的 native ledger 最近操作。

public string NativeLastOperation { get; }

Property Value

string

NativeLedgerAvailable

Gets whether native ledger copied state was available. 获取 native ledger 复制状态是否可用。

public bool NativeLedgerAvailable { get; }

Property Value

bool

NativeLedgerDesignReady

Gets whether native ledger copied-state evidence is clean. 获取 native ledger copied-state 证据是否干净。

public bool NativeLedgerDesignReady { get; }

Property Value

bool

NativeLedgerDiagnostic

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

public string NativeLedgerDiagnostic { get; }

Property Value

string

NativeLedgerStatus

Gets the native ledger diagnostic status. 获取 native ledger 诊断状态。

public BridgeStatusCode NativeLedgerStatus { get; }

Property Value

BridgeStatusCode

NativeOwnerId

Gets the synthetic native owner id copied from the ledger. 获取从 ledger 复制出的合成 native owner id。

public ulong NativeOwnerId { get; }

Property Value

ulong

Operation

Gets the copied operation label. 获取复制出的操作标签。

public string Operation { get; }

Property Value

string

OwnerId

Gets the managed owner id copied from the internal prototype. 获取从 internal prototype 复制出的托管 owner id。

public long OwnerId { get; }

Property Value

long

PointerFreeSurfaceReady

Gets whether the public safety gate surface is pointer-free. 获取 public safety gate 表面是否不含 pointer。

public bool PointerFreeSurfaceReady { get; }

Property Value

bool

RealCallbackRuntime

Gets whether this result proves real TensorRT callback runtime. 获取该结果是否证明真实 TensorRT callback runtime。

public bool RealCallbackRuntime { get; }

Property Value

bool

ReleaseDiagnostic

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

public string ReleaseDiagnostic { get; }

Property Value

string

ReleaseHookCount

Gets the release hook count. 获取 release hook 次数。

public long ReleaseHookCount { get; }

Property Value

long

RuntimeEvidenceKind

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

public string RuntimeEvidenceKind { get; }

Property Value

string

RuntimeProofBlocked

Gets whether real runtime proof is still blocked. 获取真实 runtime proof 是否仍被阻断。

public bool RuntimeProofBlocked { get; }

Property Value

bool

StateTransitionCount

Gets copied native owner state transition count. 获取复制出的 native owner 状态转移次数。

public ulong StateTransitionCount { get; }

Property Value

ulong

Status

Gets the safety gate status. 获取安全门禁状态。

public string Status { get; }

Property Value

string

StreamLifetimeReady

Gets whether stream lifetime and async allocator semantics are ready. 获取 stream lifetime 与 async allocator 语义是否就绪。

public bool StreamLifetimeReady { get; }

Property Value

bool

Methods

ToString()

Returns a compact diagnostic representation. 返回紧凑的诊断表示。

public override string ToString()

Returns

string

A diagnostic string. 诊断字符串。