Table of Contents

Class TensorRtExecutionContextRuntimeDiagnosticSummary

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Compact pointer-free summary for an execution-context runtime diagnostic snapshot. execution-context runtime 诊断快照的简短无指针摘要。

public sealed class TensorRtExecutionContextRuntimeDiagnosticSummary
Inheritance
TensorRtExecutionContextRuntimeDiagnosticSummary
Inherited Members

Properties

CallbackStateDebugListenerInterfaceInfoAvailable

Gets whether debug listener interface metadata was copied. 获取是否复制到了 debug listener interface 元数据。

public bool CallbackStateDebugListenerInterfaceInfoAvailable { get; }

Property Value

bool

CallbackStateHasDebugListener

Gets whether the copied callback state reported a debug listener. 获取复制出的 callback state 是否报告 debug listener。

public bool CallbackStateHasDebugListener { get; }

Property Value

bool

CallbackStateHasOutputAllocator

Gets whether the copied callback state reported an output allocator. 获取复制出的 callback state 是否报告 output allocator。

public bool CallbackStateHasOutputAllocator { get; }

Property Value

bool

CallbackStateHasTemporaryStorageAllocator

Gets whether the copied callback state reported a temporary-storage allocator. 获取复制出的 callback state 是否报告 temporary-storage allocator。

public bool CallbackStateHasTemporaryStorageAllocator { get; }

Property Value

bool

CallbackStateLastOperationAvailable

Gets whether the callback-state snapshot had a non-empty last operation label. 获取 callback-state 快照是否包含非空 last operation 标签。

public bool CallbackStateLastOperationAvailable { get; }

Property Value

bool

CallbackStateLastStatus

Gets the last bridge status copied by the callback-state snapshot. 获取 callback-state 快照复制出的最后 bridge 状态。

public BridgeStatusCode CallbackStateLastStatus { get; }

Property Value

BridgeStatusCode

CallbackStateOutputAllocatorInterfaceInfoAvailable

Gets whether output allocator interface metadata was copied. 获取是否复制到了 output allocator interface 元数据。

public bool CallbackStateOutputAllocatorInterfaceInfoAvailable { get; }

Property Value

bool

CallbackStateTemporaryStorageAllocatorInterfaceInfoAvailable

Gets whether temporary-storage allocator interface metadata was copied. 获取是否复制到了 temporary-storage allocator interface 元数据。

public bool CallbackStateTemporaryStorageAllocatorInterfaceInfoAvailable { get; }

Property Value

bool

DiagnosticCount

Gets the number of diagnostics collected while creating the snapshot. 获取创建快照时收集到的诊断数量。

public int DiagnosticCount { get; }

Property Value

int

HasDebugListener

Gets whether TensorRT reported a debug listener. 获取 TensorRT 是否报告 debug listener。

public bool HasDebugListener { get; }

Property Value

bool

HasErrorRecorder

Gets whether TensorRT reported an error recorder. 获取 TensorRT 是否报告 error recorder。

public bool HasErrorRecorder { get; }

Property Value

bool

HasInputConsumedEventAddressValue

Gets whether the copied input-consumed event address diagnostic was non-zero. 获取复制出的 input-consumed event 地址诊断值是否非零。

public bool HasInputConsumedEventAddressValue { get; }

Property Value

bool

HasManagedProfiler

Gets whether the managed wrapper holds a managed profiler borrow. 获取托管 wrapper 是否持有 managed profiler 借用。

public bool HasManagedProfiler { get; }

Property Value

bool

HasNativeProfiler

Gets whether TensorRT reported a native profiler. 获取 TensorRT 是否报告 native profiler。

public bool HasNativeProfiler { get; }

Property Value

bool

HasOutputAllocator

Gets whether TensorRT reported an output allocator. 获取 TensorRT 是否报告 output allocator。

public bool HasOutputAllocator { get; }

Property Value

bool

HasOutputTensorAddressValue

Gets whether the copied output tensor address diagnostic was non-zero. 获取复制出的 output tensor 地址诊断值是否非零。

public bool HasOutputTensorAddressValue { get; }

Property Value

bool

HasOutputTensorName

Gets whether the source snapshot had a non-empty output tensor name. 获取源快照是否包含非空 output tensor 名称。

public bool HasOutputTensorName { get; }

Property Value

bool

HasRuntimeConfig

Gets whether TensorRT exposes a runtime config object. 获取 TensorRT 是否暴露 runtime config 对象。

public bool HasRuntimeConfig { get; }

Property Value

bool

HasTemporaryStorageAllocator

Gets whether TensorRT reported a temporary-storage allocator. 获取 TensorRT 是否报告 temporary-storage allocator。

public bool HasTemporaryStorageAllocator { get; }

Property Value

bool

IsInputConsumedEventSet

Gets whether TensorRT reported an input-consumed event. 获取 TensorRT 是否报告 input-consumed event。

public bool IsInputConsumedEventSet { get; }

Property Value

bool

IsOutputTensorAddressSet

Gets whether TensorRT reported an explicit output tensor address. 获取 TensorRT 是否报告显式 output tensor 地址。

public bool IsOutputTensorAddressSet { get; }

Property Value

bool

Line

Gets the TensorRT API line used to collect the source snapshot. 获取采集源快照的 TensorRT API line。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

NvtxVerbosity

Gets the copied NVTX verbosity value. 获取复制出的 NVTX verbosity 值。

public TensorRtProfilingVerbosity NvtxVerbosity { get; }

Property Value

TensorRtProfilingVerbosity

UnfusedTensorsDebugState

Gets the copied unfused-tensor debug state. 获取复制出的 unfused tensor debug state。

public bool UnfusedTensorsDebugState { get; }

Property Value

bool

Methods

ToString()

Converts the summary to a compact diagnostic string. 转换为简短诊断字符串。

public override string ToString()

Returns

string

A compact diagnostic string. 简短诊断字符串。