-
Notifications
You must be signed in to change notification settings - Fork 0
/
memory.pb.go
133 lines (117 loc) · 5.52 KB
/
memory.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/admin/v2alpha/memory.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 internal memory consumption of an Envoy instance. These represent
// values extracted from an internal TCMalloc instance. For more information, see the section of the
// docs entitled ["Generic Tcmalloc Status"](https://gperftools.github.io/gperftools/tcmalloc.html).
// [#next-free-field: 6]
type Memory struct {
// The number of bytes allocated by the heap for Envoy. This is an alias for
// `generic.current_allocated_bytes`.
Allocated uint64 `protobuf:"varint,1,opt,name=allocated,proto3" json:"allocated,omitempty"`
// The number of bytes reserved by the heap but not necessarily allocated. This is an alias for
// `generic.heap_size`.
HeapSize uint64 `protobuf:"varint,2,opt,name=heap_size,json=heapSize,proto3" json:"heap_size,omitempty"`
// The number of bytes in free, unmapped pages in the page heap. These bytes always count towards
// virtual memory usage, and depending on the OS, typically do not count towards physical memory
// usage. This is an alias for `tcmalloc.pageheap_unmapped_bytes`.
PageheapUnmapped uint64 `protobuf:"varint,3,opt,name=pageheap_unmapped,json=pageheapUnmapped,proto3" json:"pageheap_unmapped,omitempty"`
// The number of bytes in free, mapped pages in the page heap. These bytes always count towards
// virtual memory usage, and unless the underlying memory is swapped out by the OS, they also
// count towards physical memory usage. This is an alias for `tcmalloc.pageheap_free_bytes`.
PageheapFree uint64 `protobuf:"varint,4,opt,name=pageheap_free,json=pageheapFree,proto3" json:"pageheap_free,omitempty"`
// The amount of memory used by the TCMalloc thread caches (for small objects). This is an alias
// for `tcmalloc.current_total_thread_cache_bytes`.
TotalThreadCache uint64 `protobuf:"varint,5,opt,name=total_thread_cache,json=totalThreadCache,proto3" json:"total_thread_cache,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Memory) Reset() { *m = Memory{} }
func (m *Memory) String() string { return proto.CompactTextString(m) }
func (*Memory) ProtoMessage() {}
func (*Memory) Descriptor() ([]byte, []int) {
return fileDescriptor_51b7ba9ad7a02b7f, []int{0}
}
func (m *Memory) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Memory.Unmarshal(m, b)
}
func (m *Memory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Memory.Marshal(b, m, deterministic)
}
func (m *Memory) XXX_Merge(src proto.Message) {
xxx_messageInfo_Memory.Merge(m, src)
}
func (m *Memory) XXX_Size() int {
return xxx_messageInfo_Memory.Size(m)
}
func (m *Memory) XXX_DiscardUnknown() {
xxx_messageInfo_Memory.DiscardUnknown(m)
}
var xxx_messageInfo_Memory proto.InternalMessageInfo
func (m *Memory) GetAllocated() uint64 {
if m != nil {
return m.Allocated
}
return 0
}
func (m *Memory) GetHeapSize() uint64 {
if m != nil {
return m.HeapSize
}
return 0
}
func (m *Memory) GetPageheapUnmapped() uint64 {
if m != nil {
return m.PageheapUnmapped
}
return 0
}
func (m *Memory) GetPageheapFree() uint64 {
if m != nil {
return m.PageheapFree
}
return 0
}
func (m *Memory) GetTotalThreadCache() uint64 {
if m != nil {
return m.TotalThreadCache
}
return 0
}
func init() {
proto.RegisterType((*Memory)(nil), "envoy.admin.v2alpha.Memory")
}
func init() { proto.RegisterFile("envoy/admin/v2alpha/memory.proto", fileDescriptor_51b7ba9ad7a02b7f) }
var fileDescriptor_51b7ba9ad7a02b7f = []byte{
// 231 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xcf, 0x4a, 0x03, 0x31,
0x10, 0x87, 0x59, 0xad, 0xc5, 0x8e, 0x0a, 0x1a, 0x2f, 0x01, 0x3d, 0x54, 0xbd, 0x08, 0x4a, 0x16,
0xea, 0x1b, 0x54, 0xf0, 0x26, 0x14, 0xff, 0x9c, 0x97, 0x71, 0x77, 0x34, 0x81, 0x64, 0x27, 0xc4,
0x58, 0xdc, 0xbe, 0x9e, 0x2f, 0x26, 0x3b, 0xed, 0xea, 0xa5, 0xd7, 0xef, 0xfb, 0x18, 0xf8, 0x0d,
0x4c, 0xa9, 0x5d, 0x72, 0x57, 0x62, 0x13, 0x5c, 0x5b, 0x2e, 0x67, 0xe8, 0xa3, 0xc5, 0x32, 0x50,
0xe0, 0xd4, 0x99, 0x98, 0x38, 0xb3, 0x3a, 0x95, 0xc2, 0x48, 0x61, 0x36, 0xc5, 0xe5, 0x4f, 0x01,
0xe3, 0x47, 0xa9, 0xd4, 0x39, 0x4c, 0xd0, 0x7b, 0xae, 0x31, 0x53, 0xa3, 0x8b, 0x69, 0x71, 0x3d,
0x7a, 0xfa, 0x07, 0xea, 0x0c, 0x26, 0x96, 0x30, 0x56, 0x9f, 0x6e, 0x45, 0x7a, 0x47, 0xec, 0x7e,
0x0f, 0x9e, 0xdd, 0x8a, 0xd4, 0x0d, 0x9c, 0x44, 0xfc, 0x20, 0x09, 0xbe, 0xda, 0x80, 0x31, 0x52,
0xa3, 0x77, 0x25, 0x3a, 0x1e, 0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