Flutter Engine
The Flutter Engine
builtin_clock.pbzero.h
Go to the documentation of this file.
1// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5// IMPORTANT: This file should only ever be modified by modifying the
6// corresponding .proto file and then running
7// `dart runtime/vm/protos/tools/compile_perfetto_protos.dart` from the SDK root
8// directory.
9// Autogenerated by the ProtoZero compiler plugin. DO NOT EDIT.
10
11#ifndef PERFETTO_PROTOS_PROTOS_PERFETTO_COMMON_BUILTIN_CLOCK_PROTO_H_
12#define PERFETTO_PROTOS_PROTOS_PERFETTO_COMMON_BUILTIN_CLOCK_PROTO_H_
13
14#include <stddef.h>
15#include <stdint.h>
16
17#include "perfetto/protozero/field_writer.h"
18#include "perfetto/protozero/message.h"
19#include "perfetto/protozero/packed_repeated_fields.h"
20#include "perfetto/protozero/proto_decoder.h"
21#include "perfetto/protozero/proto_utils.h"
22
23namespace perfetto {
24namespace protos {
25namespace pbzero {
26
27enum BuiltinClock : int32_t {
29};
30
33
34PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE
36 switch (value) {
38 return "BUILTIN_CLOCK_MONOTONIC";
39 }
40 return "PBZERO_UNKNOWN_ENUM_VALUE";
41}
42
43} // namespace pbzero
44} // namespace protos
45} // namespace perfetto
46#endif // Include guard.
uint8_t value
constexpr BuiltinClock BuiltinClock_MAX
PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE const char * BuiltinClock_Name(::perfetto::protos::pbzero::BuiltinClock value)
constexpr BuiltinClock BuiltinClock_MIN