perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
75 lines • 4.04 kB
JavaScript
;
//
// Copyright (C) 2024 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.RelayPort = exports.SyncClockResponseSchema = exports.SyncClockRequest_PhaseSchema = exports.SyncClockRequest_Phase = exports.SyncClockRequest_ClockSchema = exports.SyncClockRequestSchema = exports.file_protos_perfetto_ipc_relay_port = void 0;
const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
/**
* Describes the file protos/perfetto/ipc/relay_port.proto.
*/
exports.file_protos_perfetto_ipc_relay_port = (0, codegenv1_1.fileDesc)("CiRwcm90b3MvcGVyZmV0dG8vaXBjL3JlbGF5X3BvcnQucHJvdG8SD3BlcmZldHRvLnByb3RvcyLQAQoQU3luY0Nsb2NrUmVxdWVzdBI2CgVwaGFzZRgBIAEoDjInLnBlcmZldHRvLnByb3Rvcy5TeW5jQ2xvY2tSZXF1ZXN0LlBoYXNlEjcKBmNsb2NrcxgCIAMoCzInLnBlcmZldHRvLnByb3Rvcy5TeW5jQ2xvY2tSZXF1ZXN0LkNsb2NrGiwKBUNsb2NrEhAKCGNsb2NrX2lkGAEgASgNEhEKCXRpbWVzdGFtcBgCIAEoBCIdCgVQaGFzZRIICgRQSU5HEAESCgoGVVBEQVRFEAIiEwoRU3luY0Nsb2NrUmVzcG9uc2UyYQoJUmVsYXlQb3J0ElQKCVN5bmNDbG9jaxIhLnBlcmZldHRvLnByb3Rvcy5TeW5jQ2xvY2tSZXF1ZXN0GiIucGVyZmV0dG8ucHJvdG9zLlN5bmNDbG9ja1Jlc3BvbnNlIgA");
/**
* Describes the message perfetto.protos.SyncClockRequest.
* Use `create(SyncClockRequestSchema)` to create a new message.
*/
exports.SyncClockRequestSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_ipc_relay_port, 0);
/**
* Describes the message perfetto.protos.SyncClockRequest.Clock.
* Use `create(SyncClockRequest_ClockSchema)` to create a new message.
*/
exports.SyncClockRequest_ClockSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_ipc_relay_port, 0, 0);
/**
* Relay service synchronizes its clocks with the host using round-trip
* messages of clock snapshots on both sides for an estimation of clock
* offsets of the built-in clocks.
*
* @generated from enum perfetto.protos.SyncClockRequest.Phase
*/
var SyncClockRequest_Phase;
(function (SyncClockRequest_Phase) {
/**
* Clock synchronization starts with the client (relay service) sends its
* clock snapshots in the PING phase. The host also snapshots its clocks on
* receiving the request and acks the client.
*
* @generated from enum value: PING = 1;
*/
SyncClockRequest_Phase[SyncClockRequest_Phase["PING"] = 1] = "PING";
/**
* Clock synchronization completes with the client sending the second clock
* snapshot request after the round-trip of the PING request. The host
* estimates the clock offsets using 2 consecutive clock snapshots on both
* sides.
*
* @generated from enum value: UPDATE = 2;
*/
SyncClockRequest_Phase[SyncClockRequest_Phase["UPDATE"] = 2] = "UPDATE";
})(SyncClockRequest_Phase || (exports.SyncClockRequest_Phase = SyncClockRequest_Phase = {}));
/**
* Describes the enum perfetto.protos.SyncClockRequest.Phase.
*/
exports.SyncClockRequest_PhaseSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_ipc_relay_port, 0, 0);
/**
* Describes the message perfetto.protos.SyncClockResponse.
* Use `create(SyncClockResponseSchema)` to create a new message.
*/
exports.SyncClockResponseSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_ipc_relay_port, 1);
/**
* IPC interface definition for serving the requests from the relay service.
*
* @generated from service perfetto.protos.RelayPort
*/
exports.RelayPort = (0, codegenv1_1.serviceDesc)(exports.file_protos_perfetto_ipc_relay_port, 0);
//# sourceMappingURL=relay_port_pb.js.map