perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
52 lines (45 loc) • 2.04 kB
text/typescript
//
// Copyright (C) 2019 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.
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
// @generated from file protos/perfetto/trace/track_event/task_execution.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/track_event/task_execution.proto.
*/
export const file_protos_perfetto_trace_track_event_task_execution: GenFile = /*@__PURE__*/
fileDesc("CjZwcm90b3MvcGVyZmV0dG8vdHJhY2UvdHJhY2tfZXZlbnQvdGFza19leGVjdXRpb24ucHJvdG8SD3BlcmZldHRvLnByb3RvcyIoCg1UYXNrRXhlY3V0aW9uEhcKD3Bvc3RlZF9mcm9tX2lpZBgBIAEoBA");
/**
* TrackEvent arguments describing the execution of a task.
*
* @generated from message perfetto.protos.TaskExecution
*/
export type TaskExecution = Message<"perfetto.protos.TaskExecution"> & {
/**
* Source location that the task was posted from.
* interned SourceLocation.
*
* @generated from field: optional uint64 posted_from_iid = 1;
*/
postedFromIid: bigint;
};
/**
* Describes the message perfetto.protos.TaskExecution.
* Use `create(TaskExecutionSchema)` to create a new message.
*/
export const TaskExecutionSchema: GenMessage<TaskExecution> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_track_event_task_execution, 0);