summaryrefslogtreecommitdiffstats
path: root/toolkit/components/glean/pytest/metrics_test_output_cpp
blob: 73cfc76bc39fc0473dcd426f3f2789653e36f256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
// -*- mode: C++ -*-

// AUTOGENERATED BY glean_parser.  DO NOT EDIT.

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef mozilla_Metrics_h
#define mozilla_Metrics_h

#include "mozilla/glean/bindings/MetricTypes.h"

namespace mozilla::glean {

enum class NoExtraKeys {};


namespace test {
    /**
     * generated from test.boolean_metric
     */
    /**
     * A multi-line
     * description
     */
    constexpr impl::BooleanMetric boolean_metric(1);

    /**
     * generated from test.counter_metric
     */
    /**
     * A multi-line
     * description
     */
    constexpr impl::CounterMetric counter_metric(4);

    /**
     * generated from test.string_metric
     */
    /**
     * A multi-line
     * description
     */
    constexpr impl::StringMetric string_metric(7);

    /**
     * generated from test.string_list_metric
     */
    /**
     * A multi-line
     * description
     */
    constexpr impl::StringListMetric string_list_metric(10);

    /**
     * generated from test.timespan_metric
     */
    /**
     * A multi-line
     * description
     */
    constexpr impl::TimespanMetric timespan_metric(11);

    /**
     * generated from test.timing_distribution_metric
     */
    /**
     * A multi-line
     * description
     */
    constexpr impl::TimingDistributionMetric timing_distribution_metric(12);

    /**
     * generated from test.memory_distribution_metric
     */
    /**
     * A multi-line
     * description
     */
    constexpr impl::MemoryDistributionMetric memory_distribution_metric(13);

}
namespace test_nested {
    /**
     * generated from test.nested.uuid_metric
     */
    /**
     * A multi-line
     * description
     */
    constexpr impl::UuidMetric uuid_metric(14);

    /**
     * generated from test.nested.datetime_metric
     */
    /**
     * A multi-line
     * description
     */
    constexpr impl::DatetimeMetric datetime_metric(15);

    /**
     * generated from test.nested.event_metric
     */
    /**
     * A multi-line
     * description
     */
    constexpr impl::EventMetric<uint32_t> event_metric(16);

    /**
     * generated from test.nested.event_metric_with_extra
     */
    enum class EventMetricWithExtraKeys : int32_t {
        AnExtraKey,
        AnotherExtraKey,
    };

    /**
     * A multi-line
     * description
     */
    constexpr impl::EventMetric<EventMetricWithExtraKeys> event_metric_with_extra(17);

}

} // namespace mozilla::glean

#endif // mozilla_Metrics_h