SwiftprotocolDVTInstrumentsFoundation

protocol DVTInstrumentsFoundation.DTCoreML.PerfCoordinator

Members 8

  1. funcmethod descriptor for assembleModelSegments(modelToken: Foundation.UUID) throws -> ()
  2. funcmethod descriptor for cancelPerfRun(forModelToken: Foundation.UUID) -> ()
  3. funcmethod descriptor for finalizeModel(modelName: String, modelToken: Foundation.UUID, isCompressed: Bool) throws -> Foundation.URL
  4. funcmethod descriptor for finalizePerfRunSetup(modelToken: Foundation.UUID, modelURL: Foundation.URL, isCompressed: Bool, perfRunConfig: DVTInstrumentsFoundation.DTCoreML.PerfRunConfig, computeUnit: Int64, postTraceCompletionHandler: @Sendable (Result<String, DVTInstrumentsFoundation.DTCoreML.PerfRunError>) -> ()) -> ()
  5. funcmethod descriptor for generateSegmentationConfig() throws -> DVTInstrumentsFoundation.DTCoreML.SegmentationConfig
  6. funcmethod descriptor for kickoffSuspendedPerfRunForModel(forToken: Foundation.UUID) -> Result<Int32, DVTInstrumentsFoundation.DTCoreML.PerfRunError>
  7. funcmethod descriptor for writeModelToDiskAndRegisterCallback(modelPayload: DVTInstrumentsFoundation.DTCoreML.ModelPayload, perfRunConfig: DVTInstrumentsFoundation.DTCoreML.PerfRunConfig, computeUnit: Int64, postTraceCompletionHandler: @Sendable (Result<String, DVTInstrumentsFoundation.DTCoreML.PerfRunError>) -> ()) -> Foundation.UUID?
  8. funcmethod descriptor for writeSegment(payload: DVTInstrumentsFoundation.DTCoreML.SegmentPayload) throws -> ()
protocol DVTInstrumentsFoundation.DTCoreML.PerfCoordinator {
    func writeModelToDiskAndRegisterCallback(modelPayload: DVTInstrumentsFoundation.DTCoreML.ModelPayload, perfRunConfig: DVTInstrumentsFoundation.DTCoreML.PerfRunConfig, computeUnit: Swift.Int64, postTraceCompletionHandler: @escaping @Sendable (_: Swift.Result<Swift.String, DVTInstrumentsFoundation.DTCoreML.PerfRunError>) -> ()) -> Foundation.UUID?
    func kickoffSuspendedPerfRunForModel(forToken: Foundation.UUID) -> Swift.Result<Swift.Int32, DVTInstrumentsFoundation.DTCoreML.PerfRunError>
    func cancelPerfRun(forModelToken: Foundation.UUID)
    func generateSegmentationConfig() throws -> DVTInstrumentsFoundation.DTCoreML.SegmentationConfig
    func writeSegment(payload: DVTInstrumentsFoundation.DTCoreML.SegmentPayload) throws
    func assembleModelSegments(modelToken: Foundation.UUID) throws
    func finalizeModel(modelName: Swift.String, modelToken: Foundation.UUID, isCompressed: Swift.Bool) throws -> Foundation.URL
    func finalizePerfRunSetup(modelToken: Foundation.UUID, modelURL: Foundation.URL, isCompressed: Swift.Bool, perfRunConfig: DVTInstrumentsFoundation.DTCoreML.PerfRunConfig, computeUnit: Swift.Int64, postTraceCompletionHandler: @escaping @Sendable (_: Swift.Result<Swift.String, DVTInstrumentsFoundation.DTCoreML.PerfRunError>) -> ())
}