-
Notifications
You must be signed in to change notification settings - Fork 0
/
CpuInfo.go
481 lines (436 loc) · 16.5 KB
/
CpuInfo.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
// Code generated by the FlatBuffers compiler. DO NOT EDIT.
package fbs2
import (
flatbuffers "github.com/google/flatbuffers/go"
)
/// Information about CPU cores of ctrlX CORE
type CpuInfoT struct {
CpuCoresTotal []uint32 `json:"cpuCoresTotal"`
CpuCoresActive []uint32 `json:"cpuCoresActive"`
CpuCoresRealtime []uint32 `json:"cpuCoresRealtime"`
CpuCoresNonRealtime []uint32 `json:"cpuCoresNonRealtime"`
CpuCoreRealtimeMax int32 `json:"cpuCoreRealtimeMax"`
CpuCoreRealtimeMin int32 `json:"cpuCoreRealtimeMin"`
CpuCoreRealtimeDefault int32 `json:"cpuCoreRealtimeDefault"`
CpuCoreNonRealtimeMax int32 `json:"cpuCoreNonRealtimeMax"`
CpuCoreNonRealtimeMin int32 `json:"cpuCoreNonRealtimeMin"`
CpuCoreNonRealtimeDefault int32 `json:"cpuCoreNonRealtimeDefault"`
VariationId string `json:"variationId"`
CpuCoreHwWdg uint32 `json:"cpuCoreHwWdg"`
CpuCorePtpTimer uint32 `json:"cpuCorePtpTimer"`
CpuCoreScheduler uint32 `json:"cpuCoreScheduler"`
CpuCoreAutomation uint32 `json:"cpuCoreAutomation"`
}
func (t *CpuInfoT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
if t == nil { return 0 }
cpuCoresTotalOffset := flatbuffers.UOffsetT(0)
if t.CpuCoresTotal != nil {
cpuCoresTotalLength := len(t.CpuCoresTotal)
CpuInfoStartCpuCoresTotalVector(builder, cpuCoresTotalLength)
for j := cpuCoresTotalLength - 1; j >= 0; j-- {
builder.PrependUint32(t.CpuCoresTotal[j])
}
cpuCoresTotalOffset = builder.EndVector(cpuCoresTotalLength)
}
cpuCoresActiveOffset := flatbuffers.UOffsetT(0)
if t.CpuCoresActive != nil {
cpuCoresActiveLength := len(t.CpuCoresActive)
CpuInfoStartCpuCoresActiveVector(builder, cpuCoresActiveLength)
for j := cpuCoresActiveLength - 1; j >= 0; j-- {
builder.PrependUint32(t.CpuCoresActive[j])
}
cpuCoresActiveOffset = builder.EndVector(cpuCoresActiveLength)
}
cpuCoresRealtimeOffset := flatbuffers.UOffsetT(0)
if t.CpuCoresRealtime != nil {
cpuCoresRealtimeLength := len(t.CpuCoresRealtime)
CpuInfoStartCpuCoresRealtimeVector(builder, cpuCoresRealtimeLength)
for j := cpuCoresRealtimeLength - 1; j >= 0; j-- {
builder.PrependUint32(t.CpuCoresRealtime[j])
}
cpuCoresRealtimeOffset = builder.EndVector(cpuCoresRealtimeLength)
}
cpuCoresNonRealtimeOffset := flatbuffers.UOffsetT(0)
if t.CpuCoresNonRealtime != nil {
cpuCoresNonRealtimeLength := len(t.CpuCoresNonRealtime)
CpuInfoStartCpuCoresNonRealtimeVector(builder, cpuCoresNonRealtimeLength)
for j := cpuCoresNonRealtimeLength - 1; j >= 0; j-- {
builder.PrependUint32(t.CpuCoresNonRealtime[j])
}
cpuCoresNonRealtimeOffset = builder.EndVector(cpuCoresNonRealtimeLength)
}
variationIdOffset := flatbuffers.UOffsetT(0)
if t.VariationId != "" {
variationIdOffset = builder.CreateString(t.VariationId)
}
CpuInfoStart(builder)
CpuInfoAddCpuCoresTotal(builder, cpuCoresTotalOffset)
CpuInfoAddCpuCoresActive(builder, cpuCoresActiveOffset)
CpuInfoAddCpuCoresRealtime(builder, cpuCoresRealtimeOffset)
CpuInfoAddCpuCoresNonRealtime(builder, cpuCoresNonRealtimeOffset)
CpuInfoAddCpuCoreRealtimeMax(builder, t.CpuCoreRealtimeMax)
CpuInfoAddCpuCoreRealtimeMin(builder, t.CpuCoreRealtimeMin)
CpuInfoAddCpuCoreRealtimeDefault(builder, t.CpuCoreRealtimeDefault)
CpuInfoAddCpuCoreNonRealtimeMax(builder, t.CpuCoreNonRealtimeMax)
CpuInfoAddCpuCoreNonRealtimeMin(builder, t.CpuCoreNonRealtimeMin)
CpuInfoAddCpuCoreNonRealtimeDefault(builder, t.CpuCoreNonRealtimeDefault)
CpuInfoAddVariationId(builder, variationIdOffset)
CpuInfoAddCpuCoreHwWdg(builder, t.CpuCoreHwWdg)
CpuInfoAddCpuCorePtpTimer(builder, t.CpuCorePtpTimer)
CpuInfoAddCpuCoreScheduler(builder, t.CpuCoreScheduler)
CpuInfoAddCpuCoreAutomation(builder, t.CpuCoreAutomation)
return CpuInfoEnd(builder)
}
func (rcv *CpuInfo) UnPackTo(t *CpuInfoT) {
cpuCoresTotalLength := rcv.CpuCoresTotalLength()
t.CpuCoresTotal = make([]uint32, cpuCoresTotalLength)
for j := 0; j < cpuCoresTotalLength; j++ {
t.CpuCoresTotal[j] = rcv.CpuCoresTotal(j)
}
cpuCoresActiveLength := rcv.CpuCoresActiveLength()
t.CpuCoresActive = make([]uint32, cpuCoresActiveLength)
for j := 0; j < cpuCoresActiveLength; j++ {
t.CpuCoresActive[j] = rcv.CpuCoresActive(j)
}
cpuCoresRealtimeLength := rcv.CpuCoresRealtimeLength()
t.CpuCoresRealtime = make([]uint32, cpuCoresRealtimeLength)
for j := 0; j < cpuCoresRealtimeLength; j++ {
t.CpuCoresRealtime[j] = rcv.CpuCoresRealtime(j)
}
cpuCoresNonRealtimeLength := rcv.CpuCoresNonRealtimeLength()
t.CpuCoresNonRealtime = make([]uint32, cpuCoresNonRealtimeLength)
for j := 0; j < cpuCoresNonRealtimeLength; j++ {
t.CpuCoresNonRealtime[j] = rcv.CpuCoresNonRealtime(j)
}
t.CpuCoreRealtimeMax = rcv.CpuCoreRealtimeMax()
t.CpuCoreRealtimeMin = rcv.CpuCoreRealtimeMin()
t.CpuCoreRealtimeDefault = rcv.CpuCoreRealtimeDefault()
t.CpuCoreNonRealtimeMax = rcv.CpuCoreNonRealtimeMax()
t.CpuCoreNonRealtimeMin = rcv.CpuCoreNonRealtimeMin()
t.CpuCoreNonRealtimeDefault = rcv.CpuCoreNonRealtimeDefault()
t.VariationId = string(rcv.VariationId())
t.CpuCoreHwWdg = rcv.CpuCoreHwWdg()
t.CpuCorePtpTimer = rcv.CpuCorePtpTimer()
t.CpuCoreScheduler = rcv.CpuCoreScheduler()
t.CpuCoreAutomation = rcv.CpuCoreAutomation()
}
func (rcv *CpuInfo) UnPack() *CpuInfoT {
if rcv == nil { return nil }
t := &CpuInfoT{}
rcv.UnPackTo(t)
return t
}
type CpuInfo struct {
_tab flatbuffers.Table
}
func GetRootAsCpuInfo(buf []byte, offset flatbuffers.UOffsetT) *CpuInfo {
n := flatbuffers.GetUOffsetT(buf[offset:])
x := &CpuInfo{}
x.Init(buf, n+offset)
return x
}
func GetSizePrefixedRootAsCpuInfo(buf []byte, offset flatbuffers.UOffsetT) *CpuInfo {
n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:])
x := &CpuInfo{}
x.Init(buf, n+offset+flatbuffers.SizeUint32)
return x
}
func (rcv *CpuInfo) Init(buf []byte, i flatbuffers.UOffsetT) {
rcv._tab.Bytes = buf
rcv._tab.Pos = i
}
func (rcv *CpuInfo) Table() flatbuffers.Table {
return rcv._tab
}
/// Identification indices of all available CPU cores
func (rcv *CpuInfo) CpuCoresTotal(j int) uint32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(4))
if o != 0 {
a := rcv._tab.Vector(o)
return rcv._tab.GetUint32(a + flatbuffers.UOffsetT(j*4))
}
return 0
}
func (rcv *CpuInfo) CpuCoresTotalLength() int {
o := flatbuffers.UOffsetT(rcv._tab.Offset(4))
if o != 0 {
return rcv._tab.VectorLen(o)
}
return 0
}
/// Identification indices of all available CPU cores
func (rcv *CpuInfo) MutateCpuCoresTotal(j int, n uint32) bool {
o := flatbuffers.UOffsetT(rcv._tab.Offset(4))
if o != 0 {
a := rcv._tab.Vector(o)
return rcv._tab.MutateUint32(a+flatbuffers.UOffsetT(j*4), n)
}
return false
}
/// Identification indices of all available active CPU cores
func (rcv *CpuInfo) CpuCoresActive(j int) uint32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(6))
if o != 0 {
a := rcv._tab.Vector(o)
return rcv._tab.GetUint32(a + flatbuffers.UOffsetT(j*4))
}
return 0
}
func (rcv *CpuInfo) CpuCoresActiveLength() int {
o := flatbuffers.UOffsetT(rcv._tab.Offset(6))
if o != 0 {
return rcv._tab.VectorLen(o)
}
return 0
}
/// Identification indices of all available active CPU cores
func (rcv *CpuInfo) MutateCpuCoresActive(j int, n uint32) bool {
o := flatbuffers.UOffsetT(rcv._tab.Offset(6))
if o != 0 {
a := rcv._tab.Vector(o)
return rcv._tab.MutateUint32(a+flatbuffers.UOffsetT(j*4), n)
}
return false
}
/// Identification indices of the available CPU cores assigned to real-time processing
func (rcv *CpuInfo) CpuCoresRealtime(j int) uint32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(8))
if o != 0 {
a := rcv._tab.Vector(o)
return rcv._tab.GetUint32(a + flatbuffers.UOffsetT(j*4))
}
return 0
}
func (rcv *CpuInfo) CpuCoresRealtimeLength() int {
o := flatbuffers.UOffsetT(rcv._tab.Offset(8))
if o != 0 {
return rcv._tab.VectorLen(o)
}
return 0
}
/// Identification indices of the available CPU cores assigned to real-time processing
func (rcv *CpuInfo) MutateCpuCoresRealtime(j int, n uint32) bool {
o := flatbuffers.UOffsetT(rcv._tab.Offset(8))
if o != 0 {
a := rcv._tab.Vector(o)
return rcv._tab.MutateUint32(a+flatbuffers.UOffsetT(j*4), n)
}
return false
}
/// Identification indices of the available CPU cores assigned to non real-time processing
func (rcv *CpuInfo) CpuCoresNonRealtime(j int) uint32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(10))
if o != 0 {
a := rcv._tab.Vector(o)
return rcv._tab.GetUint32(a + flatbuffers.UOffsetT(j*4))
}
return 0
}
func (rcv *CpuInfo) CpuCoresNonRealtimeLength() int {
o := flatbuffers.UOffsetT(rcv._tab.Offset(10))
if o != 0 {
return rcv._tab.VectorLen(o)
}
return 0
}
/// Identification indices of the available CPU cores assigned to non real-time processing
func (rcv *CpuInfo) MutateCpuCoresNonRealtime(j int, n uint32) bool {
o := flatbuffers.UOffsetT(rcv._tab.Offset(10))
if o != 0 {
a := rcv._tab.Vector(o)
return rcv._tab.MutateUint32(a+flatbuffers.UOffsetT(j*4), n)
}
return false
}
/// Highest available identification index of the CPU core for real-time processing
func (rcv *CpuInfo) CpuCoreRealtimeMax() int32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(12))
if o != 0 {
return rcv._tab.GetInt32(o + rcv._tab.Pos)
}
return -1
}
/// Highest available identification index of the CPU core for real-time processing
func (rcv *CpuInfo) MutateCpuCoreRealtimeMax(n int32) bool {
return rcv._tab.MutateInt32Slot(12, n)
}
/// Lowest available identification index of the CPU core for real-time processing
func (rcv *CpuInfo) CpuCoreRealtimeMin() int32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(14))
if o != 0 {
return rcv._tab.GetInt32(o + rcv._tab.Pos)
}
return -1
}
/// Lowest available identification index of the CPU core for real-time processing
func (rcv *CpuInfo) MutateCpuCoreRealtimeMin(n int32) bool {
return rcv._tab.MutateInt32Slot(14, n)
}
/// Identification index of the CPU core assigned to real-time processing by default
func (rcv *CpuInfo) CpuCoreRealtimeDefault() int32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(16))
if o != 0 {
return rcv._tab.GetInt32(o + rcv._tab.Pos)
}
return -1
}
/// Identification index of the CPU core assigned to real-time processing by default
func (rcv *CpuInfo) MutateCpuCoreRealtimeDefault(n int32) bool {
return rcv._tab.MutateInt32Slot(16, n)
}
/// Highest available identification index of the CPU core for non real-time processing
func (rcv *CpuInfo) CpuCoreNonRealtimeMax() int32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(18))
if o != 0 {
return rcv._tab.GetInt32(o + rcv._tab.Pos)
}
return -1
}
/// Highest available identification index of the CPU core for non real-time processing
func (rcv *CpuInfo) MutateCpuCoreNonRealtimeMax(n int32) bool {
return rcv._tab.MutateInt32Slot(18, n)
}
/// Lowest available identification index of the CPU core for non real-time processing
func (rcv *CpuInfo) CpuCoreNonRealtimeMin() int32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(20))
if o != 0 {
return rcv._tab.GetInt32(o + rcv._tab.Pos)
}
return -1
}
/// Lowest available identification index of the CPU core for non real-time processing
func (rcv *CpuInfo) MutateCpuCoreNonRealtimeMin(n int32) bool {
return rcv._tab.MutateInt32Slot(20, n)
}
/// Identification index of the CPU core assigned to non real-time processing by default
func (rcv *CpuInfo) CpuCoreNonRealtimeDefault() int32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(22))
if o != 0 {
return rcv._tab.GetInt32(o + rcv._tab.Pos)
}
return -1
}
/// Identification index of the CPU core assigned to non real-time processing by default
func (rcv *CpuInfo) MutateCpuCoreNonRealtimeDefault(n int32) bool {
return rcv._tab.MutateInt32Slot(22, n)
}
/// Variation ID to manage special handling of CPU type
func (rcv *CpuInfo) VariationId() []byte {
o := flatbuffers.UOffsetT(rcv._tab.Offset(24))
if o != 0 {
return rcv._tab.ByteVector(o + rcv._tab.Pos)
}
return nil
}
/// Variation ID to manage special handling of CPU type
/// Identification index of the CPU core on which the hardware watchdog is handled
func (rcv *CpuInfo) CpuCoreHwWdg() uint32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(26))
if o != 0 {
return rcv._tab.GetUint32(o + rcv._tab.Pos)
}
return 0
}
/// Identification index of the CPU core on which the hardware watchdog is handled
func (rcv *CpuInfo) MutateCpuCoreHwWdg(n uint32) bool {
return rcv._tab.MutateUint32Slot(26, n)
}
/// Identification index of the CPU core on which the FPGA interrupt is handled
func (rcv *CpuInfo) CpuCorePtpTimer() uint32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(28))
if o != 0 {
return rcv._tab.GetUint32(o + rcv._tab.Pos)
}
return 0
}
/// Identification index of the CPU core on which the FPGA interrupt is handled
func (rcv *CpuInfo) MutateCpuCorePtpTimer(n uint32) bool {
return rcv._tab.MutateUint32Slot(28, n)
}
/// Identification index of the CPU core on which the Scheduler tick task is executed
func (rcv *CpuInfo) CpuCoreScheduler() uint32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(30))
if o != 0 {
return rcv._tab.GetUint32(o + rcv._tab.Pos)
}
return 0
}
/// Identification index of the CPU core on which the Scheduler tick task is executed
func (rcv *CpuInfo) MutateCpuCoreScheduler(n uint32) bool {
return rcv._tab.MutateUint32Slot(30, n)
}
/// Identification index of the CPU core on which the user task 'ctrlXAutomation' is executed by default
func (rcv *CpuInfo) CpuCoreAutomation() uint32 {
o := flatbuffers.UOffsetT(rcv._tab.Offset(32))
if o != 0 {
return rcv._tab.GetUint32(o + rcv._tab.Pos)
}
return 0
}
/// Identification index of the CPU core on which the user task 'ctrlXAutomation' is executed by default
func (rcv *CpuInfo) MutateCpuCoreAutomation(n uint32) bool {
return rcv._tab.MutateUint32Slot(32, n)
}
func CpuInfoStart(builder *flatbuffers.Builder) {
builder.StartObject(15)
}
func CpuInfoAddCpuCoresTotal(builder *flatbuffers.Builder, cpuCoresTotal flatbuffers.UOffsetT) {
builder.PrependUOffsetTSlot(0, flatbuffers.UOffsetT(cpuCoresTotal), 0)
}
func CpuInfoStartCpuCoresTotalVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT {
return builder.StartVector(4, numElems, 4)
}
func CpuInfoAddCpuCoresActive(builder *flatbuffers.Builder, cpuCoresActive flatbuffers.UOffsetT) {
builder.PrependUOffsetTSlot(1, flatbuffers.UOffsetT(cpuCoresActive), 0)
}
func CpuInfoStartCpuCoresActiveVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT {
return builder.StartVector(4, numElems, 4)
}
func CpuInfoAddCpuCoresRealtime(builder *flatbuffers.Builder, cpuCoresRealtime flatbuffers.UOffsetT) {
builder.PrependUOffsetTSlot(2, flatbuffers.UOffsetT(cpuCoresRealtime), 0)
}
func CpuInfoStartCpuCoresRealtimeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT {
return builder.StartVector(4, numElems, 4)
}
func CpuInfoAddCpuCoresNonRealtime(builder *flatbuffers.Builder, cpuCoresNonRealtime flatbuffers.UOffsetT) {
builder.PrependUOffsetTSlot(3, flatbuffers.UOffsetT(cpuCoresNonRealtime), 0)
}
func CpuInfoStartCpuCoresNonRealtimeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT {
return builder.StartVector(4, numElems, 4)
}
func CpuInfoAddCpuCoreRealtimeMax(builder *flatbuffers.Builder, cpuCoreRealtimeMax int32) {
builder.PrependInt32Slot(4, cpuCoreRealtimeMax, -1)
}
func CpuInfoAddCpuCoreRealtimeMin(builder *flatbuffers.Builder, cpuCoreRealtimeMin int32) {
builder.PrependInt32Slot(5, cpuCoreRealtimeMin, -1)
}
func CpuInfoAddCpuCoreRealtimeDefault(builder *flatbuffers.Builder, cpuCoreRealtimeDefault int32) {
builder.PrependInt32Slot(6, cpuCoreRealtimeDefault, -1)
}
func CpuInfoAddCpuCoreNonRealtimeMax(builder *flatbuffers.Builder, cpuCoreNonRealtimeMax int32) {
builder.PrependInt32Slot(7, cpuCoreNonRealtimeMax, -1)
}
func CpuInfoAddCpuCoreNonRealtimeMin(builder *flatbuffers.Builder, cpuCoreNonRealtimeMin int32) {
builder.PrependInt32Slot(8, cpuCoreNonRealtimeMin, -1)
}
func CpuInfoAddCpuCoreNonRealtimeDefault(builder *flatbuffers.Builder, cpuCoreNonRealtimeDefault int32) {
builder.PrependInt32Slot(9, cpuCoreNonRealtimeDefault, -1)
}
func CpuInfoAddVariationId(builder *flatbuffers.Builder, variationId flatbuffers.UOffsetT) {
builder.PrependUOffsetTSlot(10, flatbuffers.UOffsetT(variationId), 0)
}
func CpuInfoAddCpuCoreHwWdg(builder *flatbuffers.Builder, cpuCoreHwWdg uint32) {
builder.PrependUint32Slot(11, cpuCoreHwWdg, 0)
}
func CpuInfoAddCpuCorePtpTimer(builder *flatbuffers.Builder, cpuCorePtpTimer uint32) {
builder.PrependUint32Slot(12, cpuCorePtpTimer, 0)
}
func CpuInfoAddCpuCoreScheduler(builder *flatbuffers.Builder, cpuCoreScheduler uint32) {
builder.PrependUint32Slot(13, cpuCoreScheduler, 0)
}
func CpuInfoAddCpuCoreAutomation(builder *flatbuffers.Builder, cpuCoreAutomation uint32) {
builder.PrependUint32Slot(14, cpuCoreAutomation, 0)
}
func CpuInfoEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
return builder.EndObject()
}