-
Notifications
You must be signed in to change notification settings - Fork 0
/
mutex_stats.pb.go
111 lines (97 loc) · 4.59 KB
/
mutex_stats.pb.go
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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/admin/v2alpha/mutex_stats.proto
package envoy_admin_v2alpha
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Proto representation of the statistics collected upon absl::Mutex contention, if Envoy is run
// under :option:`--enable-mutex-tracing`. For more information, see the `absl::Mutex`
// [docs](https://abseil.io/about/design/mutex#extra-features).
//
// *NB*: The wait cycles below are measured by `absl::base_internal::CycleClock`, and may not
// correspond to core clock frequency. For more information, see the `CycleClock`
// [docs](https://github.com/abseil/abseil-cpp/blob/master/absl/base/internal/cycleclock.h).
type MutexStats struct {
// The number of individual mutex contentions which have occurred since startup.
NumContentions uint64 `protobuf:"varint,1,opt,name=num_contentions,json=numContentions,proto3" json:"num_contentions,omitempty"`
// The length of the current contention wait cycle.
CurrentWaitCycles uint64 `protobuf:"varint,2,opt,name=current_wait_cycles,json=currentWaitCycles,proto3" json:"current_wait_cycles,omitempty"`
// The lifetime total of all contention wait cycles.
LifetimeWaitCycles uint64 `protobuf:"varint,3,opt,name=lifetime_wait_cycles,json=lifetimeWaitCycles,proto3" json:"lifetime_wait_cycles,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MutexStats) Reset() { *m = MutexStats{} }
func (m *MutexStats) String() string { return proto.CompactTextString(m) }
func (*MutexStats) ProtoMessage() {}
func (*MutexStats) Descriptor() ([]byte, []int) {
return fileDescriptor_2c1145f4b9ed4752, []int{0}
}
func (m *MutexStats) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MutexStats.Unmarshal(m, b)
}
func (m *MutexStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MutexStats.Marshal(b, m, deterministic)
}
func (m *MutexStats) XXX_Merge(src proto.Message) {
xxx_messageInfo_MutexStats.Merge(m, src)
}
func (m *MutexStats) XXX_Size() int {
return xxx_messageInfo_MutexStats.Size(m)
}
func (m *MutexStats) XXX_DiscardUnknown() {
xxx_messageInfo_MutexStats.DiscardUnknown(m)
}
var xxx_messageInfo_MutexStats proto.InternalMessageInfo
func (m *MutexStats) GetNumContentions() uint64 {
if m != nil {
return m.NumContentions
}
return 0
}
func (m *MutexStats) GetCurrentWaitCycles() uint64 {
if m != nil {
return m.CurrentWaitCycles
}
return 0
}
func (m *MutexStats) GetLifetimeWaitCycles() uint64 {
if m != nil {
return m.LifetimeWaitCycles
}
return 0
}
func init() {
proto.RegisterType((*MutexStats)(nil), "envoy.admin.v2alpha.MutexStats")
}
func init() {
proto.RegisterFile("envoy/admin/v2alpha/mutex_stats.proto", fileDescriptor_2c1145f4b9ed4752)
}
var fileDescriptor_2c1145f4b9ed4752 = []byte{
// 208 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4d, 0xcd, 0x2b, 0xcb,
0xaf, 0xd4, 0x4f, 0x4c, 0xc9, 0xcd, 0xcc, 0xd3, 0x2f, 0x33, 0x4a, 0xcc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