perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
59 lines (50 loc) • 2.1 kB
text/typescript
//
// Copyright (C) 2020 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/android/gpu_mem_event.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/android/gpu_mem_event.proto.
*/
export const file_protos_perfetto_trace_android_gpu_mem_event: GenFile = /*@__PURE__*/
fileDesc("CjFwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC9ncHVfbWVtX2V2ZW50LnByb3RvEg9wZXJmZXR0by5wcm90b3MiPQoQR3B1TWVtVG90YWxFdmVudBIOCgZncHVfaWQYASABKA0SCwoDcGlkGAIgASgNEgwKBHNpemUYAyABKAQ");
/**
* Generated by Android's GpuService.
*
* @generated from message perfetto.protos.GpuMemTotalEvent
*/
export type GpuMemTotalEvent = Message<"perfetto.protos.GpuMemTotalEvent"> & {
/**
* @generated from field: optional uint32 gpu_id = 1;
*/
gpuId: number;
/**
* @generated from field: optional uint32 pid = 2;
*/
pid: number;
/**
* @generated from field: optional uint64 size = 3;
*/
size: bigint;
};
/**
* Describes the message perfetto.protos.GpuMemTotalEvent.
* Use `create(GpuMemTotalEventSchema)` to create a new message.
*/
export const GpuMemTotalEventSchema: GenMessage<GpuMemTotalEvent> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_gpu_mem_event, 0);