perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
56 lines (48 loc) • 2.21 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/config/gpu/vulkan_memory_config.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/config/gpu/vulkan_memory_config.proto.
*/
export const file_protos_perfetto_config_gpu_vulkan_memory_config: GenFile = /*@__PURE__*/
fileDesc("CjVwcm90b3MvcGVyZmV0dG8vY29uZmlnL2dwdS92dWxrYW5fbWVtb3J5X2NvbmZpZy5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIloKElZ1bGthbk1lbW9yeUNvbmZpZxIhChl0cmFja19kcml2ZXJfbWVtb3J5X3VzYWdlGAEgASgIEiEKGXRyYWNrX2RldmljZV9tZW1vcnlfdXNhZ2UYAiABKAg");
/**
* @generated from message perfetto.protos.VulkanMemoryConfig
*/
export type VulkanMemoryConfig = Message<"perfetto.protos.VulkanMemoryConfig"> & {
/**
* Tracking driver memory usage events
*
* @generated from field: optional bool track_driver_memory_usage = 1;
*/
trackDriverMemoryUsage: boolean;
/**
* Tracking device memory usage events
*
* @generated from field: optional bool track_device_memory_usage = 2;
*/
trackDeviceMemoryUsage: boolean;
};
/**
* Describes the message perfetto.protos.VulkanMemoryConfig.
* Use `create(VulkanMemoryConfigSchema)` to create a new message.
*/
export const VulkanMemoryConfigSchema: GenMessage<VulkanMemoryConfig> = /*@__PURE__*/
messageDesc(file_protos_perfetto_config_gpu_vulkan_memory_config, 0);