Debian Codegraph @

crit/images/timer/timer.pb.go

raw symbols SCIP
1 // SPDX-License-Identifier: MIT
2
3 // Code generated by protoc-gen-go. DO NOT EDIT.
4 // versions:
5 // protoc-gen-go v1.30.0
6 // protoc v4.23.4
7 // source: timer.proto
8
9 package timer
10
11 import (
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type ItimerEntry struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 Isec *uint64 `protobuf:"varint,1,req,name=isec" json:"isec,omitempty"`
31 Iusec *uint64 `protobuf:"varint,2,req,name=iusec" json:"iusec,omitempty"`
32 Vsec *uint64 `protobuf:"varint,3,req,name=vsec" json:"vsec,omitempty"`
33 Vusec *uint64 `protobuf:"varint,4,req,name=vusec" json:"vusec,omitempty"`
34 }
35
36 func (x *ItimerEntry) Reset() {
37 *x = ItimerEntry{}
38 if protoimpl.UnsafeEnabled {
39 mi := &file_timer_proto_msgTypes[0]
40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
41 ms.StoreMessageInfo(mi)
42 }
43 }
44
45 func (x *ItimerEntry) String() string {
46 return protoimpl.X.MessageStringOf(x)
47 }
48
49 func (*ItimerEntry) ProtoMessage() {}
50
51 func (x *ItimerEntry) ProtoReflect() protoreflect.Message {
52 mi := &file_timer_proto_msgTypes[0]
53 if protoimpl.UnsafeEnabled && x != nil {
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 if ms.LoadMessageInfo() == nil {
56 ms.StoreMessageInfo(mi)
57 }
58 return ms
59 }
60 return mi.MessageOf(x)
61 }
62
63 // Deprecated: Use ItimerEntry.ProtoReflect.Descriptor instead.
64 func (*ItimerEntry) Descriptor() ([]byte, []int) {
65 return file_timer_proto_rawDescGZIP(), []int{0}
66 }
67
68 func (x *ItimerEntry) GetIsec() uint64 {
69 if x != nil && x.Isec != nil {
70 return *x.Isec
71 }
72 return 0
73 }
74
75 func (x *ItimerEntry) GetIusec() uint64 {
76 if x != nil && x.Iusec != nil {
77 return *x.Iusec
78 }
79 return 0
80 }
81
82 func (x *ItimerEntry) GetVsec() uint64 {
83 if x != nil && x.Vsec != nil {
84 return *x.Vsec
85 }
86 return 0
87 }
88
89 func (x *ItimerEntry) GetVusec() uint64 {
90 if x != nil && x.Vusec != nil {
91 return *x.Vusec
92 }
93 return 0
94 }
95
96 type PosixTimerEntry struct {
97 state protoimpl.MessageState
98 sizeCache protoimpl.SizeCache
99 unknownFields protoimpl.UnknownFields
100
101 ItId *uint32 `protobuf:"varint,1,req,name=it_id,json=itId" json:"it_id,omitempty"`
102 ClockId *uint32 `protobuf:"varint,2,req,name=clock_id,json=clockId" json:"clock_id,omitempty"`
103 SiSigno *uint32 `protobuf:"varint,3,req,name=si_signo,json=siSigno" json:"si_signo,omitempty"`
104 ItSigevNotify *uint32 `protobuf:"varint,4,req,name=it_sigev_notify,json=itSigevNotify" json:"it_sigev_notify,omitempty"`
105 SivalPtr *uint64 `protobuf:"varint,5,req,name=sival_ptr,json=sivalPtr" json:"sival_ptr,omitempty"`
106 Overrun *uint32 `protobuf:"varint,6,req,name=overrun" json:"overrun,omitempty"`
107 Isec *uint64 `protobuf:"varint,7,req,name=isec" json:"isec,omitempty"`
108 Insec *uint64 `protobuf:"varint,8,req,name=insec" json:"insec,omitempty"`
109 Vsec *uint64 `protobuf:"varint,9,req,name=vsec" json:"vsec,omitempty"`
110 Vnsec *uint64 `protobuf:"varint,10,req,name=vnsec" json:"vnsec,omitempty"`
111 NotifyThreadId *int32 `protobuf:"varint,11,opt,name=notify_thread_id,json=notifyThreadId" json:"notify_thread_id,omitempty"`
112 }
113
114 func (x *PosixTimerEntry) Reset() {
115 *x = PosixTimerEntry{}
116 if protoimpl.UnsafeEnabled {
117 mi := &file_timer_proto_msgTypes[1]
118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
119 ms.StoreMessageInfo(mi)
120 }
121 }
122
123 func (x *PosixTimerEntry) String() string {
124 return protoimpl.X.MessageStringOf(x)
125 }
126
127 func (*PosixTimerEntry) ProtoMessage() {}
128
129 func (x *PosixTimerEntry) ProtoReflect() protoreflect.Message {
130 mi := &file_timer_proto_msgTypes[1]
131 if protoimpl.UnsafeEnabled && x != nil {
132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133 if ms.LoadMessageInfo() == nil {
134 ms.StoreMessageInfo(mi)
135 }
136 return ms
137 }
138 return mi.MessageOf(x)
139 }
140
141 // Deprecated: Use PosixTimerEntry.ProtoReflect.Descriptor instead.
142 func (*PosixTimerEntry) Descriptor() ([]byte, []int) {
143 return file_timer_proto_rawDescGZIP(), []int{1}
144 }
145
146 func (x *PosixTimerEntry) GetItId() uint32 {
147 if x != nil && x.ItId != nil {
148 return *x.ItId
149 }
150 return 0
151 }
152
153 func (x *PosixTimerEntry) GetClockId() uint32 {
154 if x != nil && x.ClockId != nil {
155 return *x.ClockId
156 }
157 return 0
158 }
159
160 func (x *PosixTimerEntry) GetSiSigno() uint32 {
161 if x != nil && x.SiSigno != nil {
162 return *x.SiSigno
163 }
164 return 0
165 }
166
167 func (x *PosixTimerEntry) GetItSigevNotify() uint32 {
168 if x != nil && x.ItSigevNotify != nil {
169 return *x.ItSigevNotify
170 }
171 return 0
172 }
173
174 func (x *PosixTimerEntry) GetSivalPtr() uint64 {
175 if x != nil && x.SivalPtr != nil {
176 return *x.SivalPtr
177 }
178 return 0
179 }
180
181 func (x *PosixTimerEntry) GetOverrun() uint32 {
182 if x != nil && x.Overrun != nil {
183 return *x.Overrun
184 }
185 return 0
186 }
187
188 func (x *PosixTimerEntry) GetIsec() uint64 {
189 if x != nil && x.Isec != nil {
190 return *x.Isec
191 }
192 return 0
193 }
194
195 func (x *PosixTimerEntry) GetInsec() uint64 {
196 if x != nil && x.Insec != nil {
197 return *x.Insec
198 }
199 return 0
200 }
201
202 func (x *PosixTimerEntry) GetVsec() uint64 {
203 if x != nil && x.Vsec != nil {
204 return *x.Vsec
205 }
206 return 0
207 }
208
209 func (x *PosixTimerEntry) GetVnsec() uint64 {
210 if x != nil && x.Vnsec != nil {
211 return *x.Vnsec
212 }
213 return 0
214 }
215
216 func (x *PosixTimerEntry) GetNotifyThreadId() int32 {
217 if x != nil && x.NotifyThreadId != nil {
218 return *x.NotifyThreadId
219 }
220 return 0
221 }
222
223 type TaskTimersEntry struct {
224 state protoimpl.MessageState
225 sizeCache protoimpl.SizeCache
226 unknownFields protoimpl.UnknownFields
227
228 Real *ItimerEntry `protobuf:"bytes,1,req,name=real" json:"real,omitempty"`
229 Virt *ItimerEntry `protobuf:"bytes,2,req,name=virt" json:"virt,omitempty"`
230 Prof *ItimerEntry `protobuf:"bytes,3,req,name=prof" json:"prof,omitempty"`
231 Posix []*PosixTimerEntry `protobuf:"bytes,4,rep,name=posix" json:"posix,omitempty"`
232 }
233
234 func (x *TaskTimersEntry) Reset() {
235 *x = TaskTimersEntry{}
236 if protoimpl.UnsafeEnabled {
237 mi := &file_timer_proto_msgTypes[2]
238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
239 ms.StoreMessageInfo(mi)
240 }
241 }
242
243 func (x *TaskTimersEntry) String() string {
244 return protoimpl.X.MessageStringOf(x)
245 }
246
247 func (*TaskTimersEntry) ProtoMessage() {}
248
249 func (x *TaskTimersEntry) ProtoReflect() protoreflect.Message {
250 mi := &file_timer_proto_msgTypes[2]
251 if protoimpl.UnsafeEnabled && x != nil {
252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
253 if ms.LoadMessageInfo() == nil {
254 ms.StoreMessageInfo(mi)
255 }
256 return ms
257 }
258 return mi.MessageOf(x)
259 }
260
261 // Deprecated: Use TaskTimersEntry.ProtoReflect.Descriptor instead.
262 func (*TaskTimersEntry) Descriptor() ([]byte, []int) {
263 return file_timer_proto_rawDescGZIP(), []int{2}
264 }
265
266 func (x *TaskTimersEntry) GetReal() *ItimerEntry {
267 if x != nil {
268 return x.Real
269 }
270 return nil
271 }
272
273 func (x *TaskTimersEntry) GetVirt() *ItimerEntry {
274 if x != nil {
275 return x.Virt
276 }
277 return nil
278 }
279
280 func (x *TaskTimersEntry) GetProf() *ItimerEntry {
281 if x != nil {
282 return x.Prof
283 }
284 return nil
285 }
286
287 func (x *TaskTimersEntry) GetPosix() []*PosixTimerEntry {
288 if x != nil {
289 return x.Posix
290 }
291 return nil
292 }
293
294 var File_timer_proto protoreflect.FileDescriptor
295
296 var file_timer_proto_rawDesc = []byte{
297 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a,
298 0x0c, 0x69, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x12, 0x0a,
299 0x04, 0x69, 0x73, 0x65, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x04, 0x69, 0x73, 0x65,
300 0x63, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x75, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04,
301 0x52, 0x05, 0x69, 0x75, 0x73, 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x76, 0x73, 0x65, 0x63, 0x18,
302 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x04, 0x76, 0x73, 0x65, 0x63, 0x12, 0x14, 0x0a, 0x05, 0x76,
303 0x75, 0x73, 0x65, 0x63, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05, 0x76, 0x75, 0x73, 0x65,
304 0x63, 0x22, 0xbb, 0x02, 0x0a, 0x11, 0x70, 0x6f, 0x73, 0x69, 0x78, 0x5f, 0x74, 0x69, 0x6d, 0x65,
305 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x13, 0x0a, 0x05, 0x69, 0x74, 0x5f, 0x69, 0x64,
306 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x04, 0x69, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08,
307 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07,
308 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x69, 0x5f, 0x73, 0x69,
309 0x67, 0x6e, 0x6f, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x69, 0x53, 0x69, 0x67,
310 0x6e, 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x65, 0x76, 0x5f, 0x6e,
311 0x6f, 0x74, 0x69, 0x66, 0x79, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0d, 0x69, 0x74, 0x53,
312 0x69, 0x67, 0x65, 0x76, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69,
313 0x76, 0x61, 0x6c, 0x5f, 0x70, 0x74, 0x72, 0x18, 0x05, 0x20, 0x02, 0x28, 0x04, 0x52, 0x08, 0x73,
314 0x69, 0x76, 0x61, 0x6c, 0x50, 0x74, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x76, 0x65, 0x72, 0x72,
315 0x75, 0x6e, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x75,
316 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x65, 0x63, 0x18, 0x07, 0x20, 0x02, 0x28, 0x04, 0x52,
317 0x04, 0x69, 0x73, 0x65, 0x63, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x73, 0x65, 0x63, 0x18, 0x08,
318 0x20, 0x02, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x73, 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x76,
319 0x73, 0x65, 0x63, 0x18, 0x09, 0x20, 0x02, 0x28, 0x04, 0x52, 0x04, 0x76, 0x73, 0x65, 0x63, 0x12,
320 0x14, 0x0a, 0x05, 0x76, 0x6e, 0x73, 0x65, 0x63, 0x18, 0x0a, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05,
321 0x76, 0x6e, 0x73, 0x65, 0x63, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f,
322 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52,
323 0x0e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x64, 0x22,
324 0xa6, 0x01, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x5f,
325 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x04, 0x72, 0x65, 0x61, 0x6c, 0x18, 0x01, 0x20,
326 0x02, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x69, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74,
327 0x72, 0x79, 0x52, 0x04, 0x72, 0x65, 0x61, 0x6c, 0x12, 0x21, 0x0a, 0x04, 0x76, 0x69, 0x72, 0x74,
328 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x69, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x5f,
329 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x76, 0x69, 0x72, 0x74, 0x12, 0x21, 0x0a, 0x04, 0x70,
330 0x72, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x69, 0x74, 0x69, 0x6d,
331 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x66, 0x12, 0x28,
332 0x0a, 0x05, 0x70, 0x6f, 0x73, 0x69, 0x78, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e,
333 0x70, 0x6f, 0x73, 0x69, 0x78, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72,
334 0x79, 0x52, 0x05, 0x70, 0x6f, 0x73, 0x69, 0x78,
335 }
336
337 var (
338 file_timer_proto_rawDescOnce sync.Once
339 file_timer_proto_rawDescData = file_timer_proto_rawDesc
340 )
341
342 func file_timer_proto_rawDescGZIP() []byte {
343 file_timer_proto_rawDescOnce.Do(func() {
344 file_timer_proto_rawDescData = protoimpl.X.CompressGZIP(file_timer_proto_rawDescData)
345 })
346 return file_timer_proto_rawDescData
347 }
348
349 var file_timer_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
350 var file_timer_proto_goTypes = []interface{}{
351 (*ItimerEntry)(nil), // 0: itimer_entry
352 (*PosixTimerEntry)(nil), // 1: posix_timer_entry
353 (*TaskTimersEntry)(nil), // 2: task_timers_entry
354 }
355 var file_timer_proto_depIdxs = []int32{
356 0, // 0: task_timers_entry.real:type_name -> itimer_entry
357 0, // 1: task_timers_entry.virt:type_name -> itimer_entry
358 0, // 2: task_timers_entry.prof:type_name -> itimer_entry
359 1, // 3: task_timers_entry.posix:type_name -> posix_timer_entry
360 4, // [4:4] is the sub-list for method output_type
361 4, // [4:4] is the sub-list for method input_type
362 4, // [4:4] is the sub-list for extension type_name
363 4, // [4:4] is the sub-list for extension extendee
364 0, // [0:4] is the sub-list for field type_name
365 }
366
367 func init() { file_timer_proto_init() }
368 func file_timer_proto_init() {
369 if File_timer_proto != nil {
370 return
371 }
372 if !protoimpl.UnsafeEnabled {
373 file_timer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
374 switch v := v.(*ItimerEntry); i {
375 case 0:
376 return &v.state
377 case 1:
378 return &v.sizeCache
379 case 2:
380 return &v.unknownFields
381 default:
382 return nil
383 }
384 }
385 file_timer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
386 switch v := v.(*PosixTimerEntry); i {
387 case 0:
388 return &v.state
389 case 1:
390 return &v.sizeCache
391 case 2:
392 return &v.unknownFields
393 default:
394 return nil
395 }
396 }
397 file_timer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
398 switch v := v.(*TaskTimersEntry); i {
399 case 0:
400 return &v.state
401 case 1:
402 return &v.sizeCache
403 case 2:
404 return &v.unknownFields
405 default:
406 return nil
407 }
408 }
409 }
410 type x struct{}
411 out := protoimpl.TypeBuilder{
412 File: protoimpl.DescBuilder{
413 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
414 RawDescriptor: file_timer_proto_rawDesc,
415 NumEnums: 0,
416 NumMessages: 3,
417 NumExtensions: 0,
418 NumServices: 0,
419 },
420 GoTypes: file_timer_proto_goTypes,
421 DependencyIndexes: file_timer_proto_depIdxs,
422 MessageInfos: file_timer_proto_msgTypes,
423 }.Build()
424 File_timer_proto = out.File
425 file_timer_proto_rawDesc = nil
426 file_timer_proto_goTypes = nil
427 file_timer_proto_depIdxs = nil
428 }