SwiftstructPCCAgentClientCommon

struct PCCAgentClientCommon.Tie_InferenceMetrics

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 59

  1. varstatic var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get }
  2. varstatic var protoMessageName: String { get }
  3. fieldvar _storage: PCCAgentClientCommon.Tie_InferenceMetrics._StorageClass
  4. fieldvar unknownFields: InternalSwiftProtobuf.UnknownStorage
  5. funcclearCachedTokenCount() -> ()
  6. funcclearCdMaskCreationTotalLatencyMillis() -> ()
  7. funcclearCdUserFacingMaskTotalLatencyMillis() -> ()
  8. funcclearFirstTokenMillis() -> ()
  9. funcclearFirstTokenRateExcludingCachedAndPreprocessing() -> ()
  10. funcclearFirstTokenRateIncludingCached() -> ()
  11. funcclearFtPreprocessingTimeMillis() -> ()
  12. funcclearInferenceOnlyTotalLatencyMillis() -> ()
  13. funcclearInputTokenizationTimeMillis() -> ()
  14. funcclearInputTokensCount() -> ()
  15. funcclearInputTokensCountTextOnly() -> ()
  16. funcclearKvCacheGenerationLatencyMillis() -> ()
  17. funcclearMetallmTotalGpuLatencyMillis() -> ()
  18. funcclearMetallmTotalMeshLatencyMillis() -> ()
  19. funcclearOutputTokensCount() -> ()
  20. funcclearRuntimeQueueWaitMillis() -> ()
  21. funcclearThoughtTokenCount() -> ()
  22. funcdecodeMessage<A where A: InternalSwiftProtobuf.Decoder>(decoder: inout A) throws -> ()
  23. functraverse<A where A: InternalSwiftProtobuf.Visitor>(visitor: inout A) throws -> ()
  24. initinit() -> PCCAgentClientCommon.Tie_InferenceMetrics
  25. varvar cachedTokenCount: UInt64 { get set }
  26. varvar cdMaskCreationTotalLatencyMillis: UInt64 { get set }
  27. varvar cdUserFacingMaskTotalLatencyMillis: UInt64 { get set }
  28. varvar firstTokenMillis: UInt32 { get set }
  29. varvar firstTokenRateExcludingCachedAndPreprocessing: Float { get set }
  30. varvar firstTokenRateIncludingCached: Float { get set }
  31. varvar ftPreprocessingTimeMillis: UInt32 { get set }
  32. varvar hasCachedTokenCount: Bool { get }
  33. varvar hasCdMaskCreationTotalLatencyMillis: Bool { get }
  34. varvar hasCdUserFacingMaskTotalLatencyMillis: Bool { get }
  35. varvar hasFirstTokenMillis: Bool { get }
  36. varvar hasFirstTokenRateExcludingCachedAndPreprocessing: Bool { get }
  37. varvar hasFirstTokenRateIncludingCached: Bool { get }
  38. varvar hasFtPreprocessingTimeMillis: Bool { get }
  39. varvar hasInferenceOnlyTotalLatencyMillis: Bool { get }
  40. varvar hasInputTokenizationTimeMillis: Bool { get }
  41. varvar hasInputTokensCount: Bool { get }
  42. varvar hasInputTokensCountTextOnly: Bool { get }
  43. varvar hasKvCacheGenerationLatencyMillis: Bool { get }
  44. varvar hasMetallmTotalGpuLatencyMillis: Bool { get }
  45. varvar hasMetallmTotalMeshLatencyMillis: Bool { get }
  46. varvar hasOutputTokensCount: Bool { get }
  47. varvar hasRuntimeQueueWaitMillis: Bool { get }
  48. varvar hasThoughtTokenCount: Bool { get }
  49. varvar inferenceOnlyTotalLatencyMillis: UInt64 { get set }
  50. varvar inputTokenizationTimeMillis: UInt32 { get set }
  51. varvar inputTokensCount: UInt32 { get set }
  52. varvar inputTokensCountTextOnly: UInt32 { get set }
  53. varvar kvCacheGenerationLatencyMillis: UInt64 { get set }
  54. varvar metallmTotalGpuLatencyMillis: UInt64 { get set }
  55. varvar metallmTotalMeshLatencyMillis: UInt64 { get set }
  56. varvar outputTokensCount: UInt32 { get set }
  57. varvar runtimeQueueWaitMillis: UInt32 { get set }
  58. varvar thoughtTokenCount: UInt64 { get set }
  59. varvar tokenLevelInferenceMetrics: [PCCAgentClientCommon.Tie_TokenLevelInferenceMetrics] { get set }
struct Tie_InferenceMetrics {
    class _StorageClass {
        var _inputTokensCount: Swift.UInt32?
        var _inputTokensCountTextOnly: Swift.UInt32?
        var _outputTokensCount: Swift.UInt32?
        var _inferenceOnlyTotalLatencyMillis: Swift.UInt64?
        var _metallmTotalMeshLatencyMillis: Swift.UInt64?
        var _metallmTotalGpuLatencyMillis: Swift.UInt64?
        var _tokenLevelInferenceMetrics: [PCCAgentClientCommon.Tie_TokenLevelInferenceMetrics]
        var _cdMaskCreationTotalLatencyMillis: Swift.UInt64?
        var _cdUserFacingMaskTotalLatencyMillis: Swift.UInt64?
        var _kvCacheGenerationLatencyMillis: Swift.UInt64?
        var _ftPreprocessingTimeMillis: Swift.UInt32?
        var _inputTokenizationTimeMillis: Swift.UInt32?
        var _firstTokenMillis: Swift.UInt32?
        var _firstTokenRateIncludingCached: Swift.Float?
        var _firstTokenRateExcludingCachedAndPreprocessing: Swift.Float?
        var _thoughtTokenCount: Swift.UInt64?
        var _cachedTokenCount: Swift.UInt64?
        var _runtimeQueueWaitMillis: Swift.UInt32?
    }
    var unknownFields: InternalSwiftProtobuf.UnknownStorage
    var _storage: PCCAgentClientCommon.Tie_InferenceMetrics._StorageClass

    init()

    var cachedTokenCount: Swift.UInt64 {
        get
        set
    }
    var cdMaskCreationTotalLatencyMillis: Swift.UInt64 {
        get
        set
    }
    var cdUserFacingMaskTotalLatencyMillis: Swift.UInt64 {
        get
        set
    }
    var firstTokenMillis: Swift.UInt32 {
        get
        set
    }
    var firstTokenRateExcludingCachedAndPreprocessing: Swift.Float {
        get
        set
    }
    var firstTokenRateIncludingCached: Swift.Float {
        get
        set
    }
    var ftPreprocessingTimeMillis: Swift.UInt32 {
        get
        set
    }
    var hasCachedTokenCount: Swift.Bool {
        get
    }
    var hasCdMaskCreationTotalLatencyMillis: Swift.Bool {
        get
    }
    var hasCdUserFacingMaskTotalLatencyMillis: Swift.Bool {
        get
    }
    var hasFirstTokenMillis: Swift.Bool {
        get
    }
    var hasFirstTokenRateExcludingCachedAndPreprocessing: Swift.Bool {
        get
    }
    var hasFirstTokenRateIncludingCached: Swift.Bool {
        get
    }
    var hasFtPreprocessingTimeMillis: Swift.Bool {
        get
    }
    var hasInferenceOnlyTotalLatencyMillis: Swift.Bool {
        get
    }
    var hasInputTokenizationTimeMillis: Swift.Bool {
        get
    }
    var hasInputTokensCount: Swift.Bool {
        get
    }
    var hasInputTokensCountTextOnly: Swift.Bool {
        get
    }
    var hasKvCacheGenerationLatencyMillis: Swift.Bool {
        get
    }
    var hasMetallmTotalGpuLatencyMillis: Swift.Bool {
        get
    }
    var hasMetallmTotalMeshLatencyMillis: Swift.Bool {
        get
    }
    var hasOutputTokensCount: Swift.Bool {
        get
    }
    var hasRuntimeQueueWaitMillis: Swift.Bool {
        get
    }
    var hasThoughtTokenCount: Swift.Bool {
        get
    }
    var inferenceOnlyTotalLatencyMillis: Swift.UInt64 {
        get
        set
    }
    var inputTokenizationTimeMillis: Swift.UInt32 {
        get
        set
    }
    var inputTokensCount: Swift.UInt32 {
        get
        set
    }
    var inputTokensCountTextOnly: Swift.UInt32 {
        get
        set
    }
    var kvCacheGenerationLatencyMillis: Swift.UInt64 {
        get
        set
    }
    var metallmTotalGpuLatencyMillis: Swift.UInt64 {
        get
        set
    }
    var metallmTotalMeshLatencyMillis: Swift.UInt64 {
        get
        set
    }
    var outputTokensCount: Swift.UInt32 {
        get
        set
    }
    var runtimeQueueWaitMillis: Swift.UInt32 {
        get
        set
    }
    var thoughtTokenCount: Swift.UInt64 {
        get
        set
    }
    var tokenLevelInferenceMetrics: [PCCAgentClientCommon.Tie_TokenLevelInferenceMetrics] {
        get
        set
    }

    func clearInferenceOnlyTotalLatencyMillis()
    func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
    func clearCachedTokenCount()
    func clearFirstTokenMillis()
    func clearInputTokensCount()
    func clearOutputTokensCount()
    func clearThoughtTokenCount()
    func clearRuntimeQueueWaitMillis()
    func clearInputTokensCountTextOnly()
    func clearFtPreprocessingTimeMillis()
    func clearInputTokenizationTimeMillis()
    func clearMetallmTotalGpuLatencyMillis()
    func clearFirstTokenRateIncludingCached()
    func clearMetallmTotalMeshLatencyMillis()
    func clearKvCacheGenerationLatencyMillis()
    func clearCdMaskCreationTotalLatencyMillis()
    func clearCdUserFacingMaskTotalLatencyMillis()
    func clearFirstTokenRateExcludingCachedAndPreprocessing()
    func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor

    static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
        get
    }
    static var protoMessageName: Swift.String {
        get
    }
}