//
// 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/common/builtin_clock.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */

import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv1";
import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";

/**
 * Describes the file protos/perfetto/common/builtin_clock.proto.
 */
export const file_protos_perfetto_common_builtin_clock: GenFile = /*@__PURE__*/
  fileDesc("Cipwcm90b3MvcGVyZmV0dG8vY29tbW9uL2J1aWx0aW5fY2xvY2sucHJvdG8SD3BlcmZldHRvLnByb3Rvcyq7AgoMQnVpbHRpbkNsb2NrEhkKFUJVSUxUSU5fQ0xPQ0tfVU5LTk9XThAAEhoKFkJVSUxUSU5fQ0xPQ0tfUkVBTFRJTUUQARIhCh1CVUlMVElOX0NMT0NLX1JFQUxUSU1FX0NPQVJTRRACEhsKF0JVSUxUSU5fQ0xPQ0tfTU9OT1RPTklDEAMSIgoeQlVJTFRJTl9DTE9DS19NT05PVE9OSUNfQ09BUlNFEAQSHwobQlVJTFRJTl9DTE9DS19NT05PVE9OSUNfUkFXEAUSGgoWQlVJTFRJTl9DTE9DS19CT09UVElNRRAGEhUKEUJVSUxUSU5fQ0xPQ0tfVFNDEAkSFgoSQlVJTFRJTl9DTE9DS19QRVJGEAoSGAoUQlVJTFRJTl9DTE9DS19NQVhfSUQQPyIECAcQByIECAgQCA");

/**
 * @generated from enum perfetto.protos.BuiltinClock
 */
export enum BuiltinClock {
  /**
   * @generated from enum value: BUILTIN_CLOCK_UNKNOWN = 0;
   */
  UNKNOWN = 0,

  /**
   * @generated from enum value: BUILTIN_CLOCK_REALTIME = 1;
   */
  REALTIME = 1,

  /**
   * @generated from enum value: BUILTIN_CLOCK_REALTIME_COARSE = 2;
   */
  REALTIME_COARSE = 2,

  /**
   * @generated from enum value: BUILTIN_CLOCK_MONOTONIC = 3;
   */
  MONOTONIC = 3,

  /**
   * @generated from enum value: BUILTIN_CLOCK_MONOTONIC_COARSE = 4;
   */
  MONOTONIC_COARSE = 4,

  /**
   * @generated from enum value: BUILTIN_CLOCK_MONOTONIC_RAW = 5;
   */
  MONOTONIC_RAW = 5,

  /**
   * @generated from enum value: BUILTIN_CLOCK_BOOTTIME = 6;
   */
  BOOTTIME = 6,

  /**
   * @generated from enum value: BUILTIN_CLOCK_TSC = 9;
   */
  TSC = 9,

  /**
   * @generated from enum value: BUILTIN_CLOCK_PERF = 10;
   */
  PERF = 10,

  /**
   * @generated from enum value: BUILTIN_CLOCK_MAX_ID = 63;
   */
  MAX_ID = 63,
}

/**
 * Describes the enum perfetto.protos.BuiltinClock.
 */
export const BuiltinClockSchema: GenEnum<BuiltinClock> = /*@__PURE__*/
  enumDesc(file_protos_perfetto_common_builtin_clock, 0);

