Flutter Engine
The Flutter Engine
third_party
dart-lang
sdk
runtime
vm
protos
perfetto
common
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
23
namespace
perfetto
{
24
namespace
protos {
25
namespace
pbzero {
26
27
enum
BuiltinClock
: int32_t {
28
BUILTIN_CLOCK_MONOTONIC
= 3,
29
};
30
31
constexpr
BuiltinClock
BuiltinClock_MIN
=
BuiltinClock::BUILTIN_CLOCK_MONOTONIC
;
32
constexpr
BuiltinClock
BuiltinClock_MAX
=
BuiltinClock::BUILTIN_CLOCK_MONOTONIC
;
33
34
PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE
35
const
char
*
BuiltinClock_Name
(
::perfetto::protos::pbzero::BuiltinClock
value
) {
36
switch
(
value
) {
37
case ::perfetto::protos::pbzero::BuiltinClock::BUILTIN_CLOCK_MONOTONIC
:
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.
value
uint8_t value
Definition:
fl_standard_message_codec.cc:36
perfetto::protos::pbzero::BuiltinClock_MAX
constexpr BuiltinClock BuiltinClock_MAX
Definition:
builtin_clock.pbzero.h:32
perfetto::protos::pbzero::BuiltinClock
BuiltinClock
Definition:
builtin_clock.pbzero.h:27
perfetto::protos::pbzero::BUILTIN_CLOCK_MONOTONIC
@ BUILTIN_CLOCK_MONOTONIC
Definition:
builtin_clock.pbzero.h:28
perfetto::protos::pbzero::BuiltinClock_Name
PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE const char * BuiltinClock_Name(::perfetto::protos::pbzero::BuiltinClock value)
Definition:
builtin_clock.pbzero.h:35
perfetto::protos::pbzero::BuiltinClock_MIN
constexpr BuiltinClock BuiltinClock_MIN
Definition:
builtin_clock.pbzero.h:31
perfetto
Definition:
builtin_clock.pbzero.h:23
Generated on Sun Jun 23 2024 21:55:48 for Flutter Engine by
1.9.4