perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
259 lines • 13.6 kB
JavaScript
"use strict";
//
// 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.
Object.defineProperty(exports, "__esModule", { value: true });
exports.GpuCounterDescriptor_MeasureUnitSchema = exports.GpuCounterDescriptor_MeasureUnit = exports.GpuCounterDescriptor_GpuCounterGroupSchema = exports.GpuCounterDescriptor_GpuCounterGroup = exports.GpuCounterDescriptor_GpuCounterBlockSchema = exports.GpuCounterDescriptor_GpuCounterSpecSchema = exports.GpuCounterDescriptorSchema = exports.file_protos_perfetto_common_gpu_counter_descriptor = void 0;
const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
/**
* Describes the file protos/perfetto/common/gpu_counter_descriptor.proto.
*/
exports.file_protos_perfetto_common_gpu_counter_descriptor = (0, codegenv1_1.fileDesc)("CjNwcm90b3MvcGVyZmV0dG8vY29tbW9uL2dwdV9jb3VudGVyX2Rlc2NyaXB0b3IucHJvdG8SD3BlcmZldHRvLnByb3RvcyK2CwoUR3B1Q291bnRlckRlc2NyaXB0b3ISQwoFc3BlY3MYASADKAsyNC5wZXJmZXR0by5wcm90b3MuR3B1Q291bnRlckRlc2NyaXB0b3IuR3B1Q291bnRlclNwZWMSRQoGYmxvY2tzGAIgAygLMjUucGVyZmV0dG8ucHJvdG9zLkdwdUNvdW50ZXJEZXNjcmlwdG9yLkdwdUNvdW50ZXJCbG9jaxIeChZtaW5fc2FtcGxpbmdfcGVyaW9kX25zGAMgASgEEh4KFm1heF9zYW1wbGluZ19wZXJpb2RfbnMYBCABKAQSJgoec3VwcG9ydHNfaW5zdH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FCWVRFEAsSDAoIUEVUQUJZVEUQDBIJCgVIRVJUWhANEg0KCUtJTE9IRVJUWhAOEg0KCU1FR0FIRVJUWhAPEg0KCUdJR0FIRVJUWhAQEg0KCVRFUkFIRVJUWhAREg0KCVBFVEFIRVJUWhASEg4KCk5BTk9TRUNPTkQQExIPCgtNSUNST1NFQ09ORBAUEg8KC01JTExJU0VDT05EEBUSCgoGU0VDT05EEBYSCgoGTUlOVVRFEBcSCAoESE9VUhAYEgoKBlZFUlRFWBAZEgkKBVBJWEVMEBoSDAoIVFJJQU5HTEUQGxINCglQUklNSVRJVkUQJhIMCghGUkFHTUVOVBAnEg0KCU1JTExJV0FUVBAcEggKBFdBVFQQHRIMCghLSUxPV0FUVBAeEgkKBUpPVUxFEB8SCAoEVk9MVBAgEgoKBkFNUEVSRRAhEgsKB0NFTFNJVVMQIhIOCgpGQUhSRU5IRUlUECMSCgoGS0VMVklOECQSCwoHUEVSQ0VOVBAlEg8KC0lOU1RSVUNUSU9OECg");
/**
* Describes the message perfetto.protos.GpuCounterDescriptor.
* Use `create(GpuCounterDescriptorSchema)` to create a new message.
*/
exports.GpuCounterDescriptorSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_gpu_counter_descriptor, 0);
/**
* Describes the message perfetto.protos.GpuCounterDescriptor.GpuCounterSpec.
* Use `create(GpuCounterDescriptor_GpuCounterSpecSchema)` to create a new message.
*/
exports.GpuCounterDescriptor_GpuCounterSpecSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_gpu_counter_descriptor, 0, 0);
/**
* Describes the message perfetto.protos.GpuCounterDescriptor.GpuCounterBlock.
* Use `create(GpuCounterDescriptor_GpuCounterBlockSchema)` to create a new message.
*/
exports.GpuCounterDescriptor_GpuCounterBlockSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_common_gpu_counter_descriptor, 0, 1);
/**
* Logical groups for a counter. This is used in the UI to present the
* related counters together.
*
* @generated from enum perfetto.protos.GpuCounterDescriptor.GpuCounterGroup
*/
var GpuCounterDescriptor_GpuCounterGroup;
(function (GpuCounterDescriptor_GpuCounterGroup) {
/**
* @generated from enum value: UNCLASSIFIED = 0;
*/
GpuCounterDescriptor_GpuCounterGroup[GpuCounterDescriptor_GpuCounterGroup["UNCLASSIFIED"] = 0] = "UNCLASSIFIED";
/**
* @generated from enum value: SYSTEM = 1;
*/
GpuCounterDescriptor_GpuCounterGroup[GpuCounterDescriptor_GpuCounterGroup["SYSTEM"] = 1] = "SYSTEM";
/**
* @generated from enum value: VERTICES = 2;
*/
GpuCounterDescriptor_GpuCounterGroup[GpuCounterDescriptor_GpuCounterGroup["VERTICES"] = 2] = "VERTICES";
/**
* @generated from enum value: FRAGMENTS = 3;
*/
GpuCounterDescriptor_GpuCounterGroup[GpuCounterDescriptor_GpuCounterGroup["FRAGMENTS"] = 3] = "FRAGMENTS";
/**
* @generated from enum value: PRIMITIVES = 4;
*/
GpuCounterDescriptor_GpuCounterGroup[GpuCounterDescriptor_GpuCounterGroup["PRIMITIVES"] = 4] = "PRIMITIVES";
/**
* Includes counters relating to caching and bandwidth.
*
* @generated from enum value: MEMORY = 5;
*/
GpuCounterDescriptor_GpuCounterGroup[GpuCounterDescriptor_GpuCounterGroup["MEMORY"] = 5] = "MEMORY";
/**
* @generated from enum value: COMPUTE = 6;
*/
GpuCounterDescriptor_GpuCounterGroup[GpuCounterDescriptor_GpuCounterGroup["COMPUTE"] = 6] = "COMPUTE";
})(GpuCounterDescriptor_GpuCounterGroup || (exports.GpuCounterDescriptor_GpuCounterGroup = GpuCounterDescriptor_GpuCounterGroup = {}));
/**
* Describes the enum perfetto.protos.GpuCounterDescriptor.GpuCounterGroup.
*/
exports.GpuCounterDescriptor_GpuCounterGroupSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_common_gpu_counter_descriptor, 0, 0);
/**
* next id: 41
*
* @generated from enum perfetto.protos.GpuCounterDescriptor.MeasureUnit
*/
var GpuCounterDescriptor_MeasureUnit;
(function (GpuCounterDescriptor_MeasureUnit) {
/**
* @generated from enum value: NONE = 0;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["NONE"] = 0] = "NONE";
/**
* @generated from enum value: BIT = 1;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["BIT"] = 1] = "BIT";
/**
* @generated from enum value: KILOBIT = 2;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["KILOBIT"] = 2] = "KILOBIT";
/**
* @generated from enum value: MEGABIT = 3;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["MEGABIT"] = 3] = "MEGABIT";
/**
* @generated from enum value: GIGABIT = 4;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["GIGABIT"] = 4] = "GIGABIT";
/**
* @generated from enum value: TERABIT = 5;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["TERABIT"] = 5] = "TERABIT";
/**
* @generated from enum value: PETABIT = 6;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["PETABIT"] = 6] = "PETABIT";
/**
* @generated from enum value: BYTE = 7;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["BYTE"] = 7] = "BYTE";
/**
* @generated from enum value: KILOBYTE = 8;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["KILOBYTE"] = 8] = "KILOBYTE";
/**
* @generated from enum value: MEGABYTE = 9;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["MEGABYTE"] = 9] = "MEGABYTE";
/**
* @generated from enum value: GIGABYTE = 10;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["GIGABYTE"] = 10] = "GIGABYTE";
/**
* @generated from enum value: TERABYTE = 11;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["TERABYTE"] = 11] = "TERABYTE";
/**
* @generated from enum value: PETABYTE = 12;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["PETABYTE"] = 12] = "PETABYTE";
/**
* @generated from enum value: HERTZ = 13;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["HERTZ"] = 13] = "HERTZ";
/**
* @generated from enum value: KILOHERTZ = 14;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["KILOHERTZ"] = 14] = "KILOHERTZ";
/**
* @generated from enum value: MEGAHERTZ = 15;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["MEGAHERTZ"] = 15] = "MEGAHERTZ";
/**
* @generated from enum value: GIGAHERTZ = 16;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["GIGAHERTZ"] = 16] = "GIGAHERTZ";
/**
* @generated from enum value: TERAHERTZ = 17;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["TERAHERTZ"] = 17] = "TERAHERTZ";
/**
* @generated from enum value: PETAHERTZ = 18;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["PETAHERTZ"] = 18] = "PETAHERTZ";
/**
* @generated from enum value: NANOSECOND = 19;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["NANOSECOND"] = 19] = "NANOSECOND";
/**
* @generated from enum value: MICROSECOND = 20;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["MICROSECOND"] = 20] = "MICROSECOND";
/**
* @generated from enum value: MILLISECOND = 21;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["MILLISECOND"] = 21] = "MILLISECOND";
/**
* @generated from enum value: SECOND = 22;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["SECOND"] = 22] = "SECOND";
/**
* @generated from enum value: MINUTE = 23;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["MINUTE"] = 23] = "MINUTE";
/**
* @generated from enum value: HOUR = 24;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["HOUR"] = 24] = "HOUR";
/**
* @generated from enum value: VERTEX = 25;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["VERTEX"] = 25] = "VERTEX";
/**
* @generated from enum value: PIXEL = 26;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["PIXEL"] = 26] = "PIXEL";
/**
* @generated from enum value: TRIANGLE = 27;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["TRIANGLE"] = 27] = "TRIANGLE";
/**
* @generated from enum value: PRIMITIVE = 38;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["PRIMITIVE"] = 38] = "PRIMITIVE";
/**
* @generated from enum value: FRAGMENT = 39;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["FRAGMENT"] = 39] = "FRAGMENT";
/**
* @generated from enum value: MILLIWATT = 28;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["MILLIWATT"] = 28] = "MILLIWATT";
/**
* @generated from enum value: WATT = 29;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["WATT"] = 29] = "WATT";
/**
* @generated from enum value: KILOWATT = 30;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["KILOWATT"] = 30] = "KILOWATT";
/**
* @generated from enum value: JOULE = 31;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["JOULE"] = 31] = "JOULE";
/**
* @generated from enum value: VOLT = 32;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["VOLT"] = 32] = "VOLT";
/**
* @generated from enum value: AMPERE = 33;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["AMPERE"] = 33] = "AMPERE";
/**
* @generated from enum value: CELSIUS = 34;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["CELSIUS"] = 34] = "CELSIUS";
/**
* @generated from enum value: FAHRENHEIT = 35;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["FAHRENHEIT"] = 35] = "FAHRENHEIT";
/**
* @generated from enum value: KELVIN = 36;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["KELVIN"] = 36] = "KELVIN";
/**
* Values should be out of 100.
*
* @generated from enum value: PERCENT = 37;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["PERCENT"] = 37] = "PERCENT";
/**
* @generated from enum value: INSTRUCTION = 40;
*/
GpuCounterDescriptor_MeasureUnit[GpuCounterDescriptor_MeasureUnit["INSTRUCTION"] = 40] = "INSTRUCTION";
})(GpuCounterDescriptor_MeasureUnit || (exports.GpuCounterDescriptor_MeasureUnit = GpuCounterDescriptor_MeasureUnit = {}));
/**
* Describes the enum perfetto.protos.GpuCounterDescriptor.MeasureUnit.
*/
exports.GpuCounterDescriptor_MeasureUnitSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_common_gpu_counter_descriptor, 0, 1);
//# sourceMappingURL=gpu_counter_descriptor_pb.js.map