DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
latency_info.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: trigger/opmon/latency_info.proto
3
5
6#include <algorithm>
7#include "google/protobuf/io/coded_stream.h"
8#include "google/protobuf/extension_set.h"
9#include "google/protobuf/wire_format_lite.h"
10#include "google/protobuf/descriptor.h"
11#include "google/protobuf/generated_message_reflection.h"
12#include "google/protobuf/reflection_ops.h"
13#include "google/protobuf/wire_format.h"
14#include "google/protobuf/generated_message_tctable_impl.h"
15// @@protoc_insertion_point(includes)
16
17// Must be included last.
18#include "google/protobuf/port_def.inc"
19PROTOBUF_PRAGMA_INIT_SEG
20namespace _pb = ::google::protobuf;
21namespace _pbi = ::google::protobuf::internal;
22namespace _fl = ::google::protobuf::internal::field_layout;
23namespace dunedaq {
24namespace trigger {
25namespace opmon {
26 template <typename>
27PROTOBUF_CONSTEXPR TriggerLatency::TriggerLatency(::_pbi::ConstantInitialized)
28 : _impl_{
29 /*decltype(_impl_.latency_in_)*/ 0u,
30 /*decltype(_impl_.latency_out_)*/ 0u,
31 /*decltype(_impl_._cached_size_)*/ {},
32 } {}
34 PROTOBUF_CONSTEXPR TriggerLatencyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
36 union {
38 };
39};
40
41PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
43 template <typename>
44PROTOBUF_CONSTEXPR TriggerLatencyStandalone::TriggerLatencyStandalone(::_pbi::ConstantInitialized)
45 : _impl_{
46 /*decltype(_impl_.latency_out_)*/ 0u,
47 /*decltype(_impl_._cached_size_)*/ {},
48 } {}
56
57PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
59} // namespace opmon
60} // namespace trigger
61} // namespace dunedaq
63static constexpr const ::_pb::EnumDescriptor**
65static constexpr const ::_pb::ServiceDescriptor**
68 protodesc_cold) = {
69 ~0u, // no _has_bits_
70 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TriggerLatency, _internal_metadata_),
71 ~0u, // no _extensions_
72 ~0u, // no _oneof_case_
73 ~0u, // no _weak_field_map_
74 ~0u, // no _inlined_string_donated_
75 ~0u, // no _split_
76 ~0u, // no sizeof(Split)
77 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TriggerLatency, _impl_.latency_in_),
78 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TriggerLatency, _impl_.latency_out_),
79 ~0u, // no _has_bits_
80 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TriggerLatencyStandalone, _internal_metadata_),
81 ~0u, // no _extensions_
82 ~0u, // no _oneof_case_
83 ~0u, // no _weak_field_map_
84 ~0u, // no _inlined_string_donated_
85 ~0u, // no _split_
86 ~0u, // no sizeof(Split)
87 PROTOBUF_FIELD_OFFSET(::dunedaq::trigger::opmon::TriggerLatencyStandalone, _impl_.latency_out_),
88};
89
90static const ::_pbi::MigrationSchema
91 schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
94};
95
100const char descriptor_table_protodef_trigger_2fopmon_2flatency_5finfo_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
101 "\n trigger/opmon/latency_info.proto\022\025dune"
102 "daq.trigger.opmon\"9\n\016TriggerLatency\022\022\n\nl"
103 "atency_in\030\001 \001(\r\022\023\n\013latency_out\030\002 \001(\r\"/\n\030"
104 "TriggerLatencyStandalone\022\023\n\013latency_out\030"
105 "\001 \001(\rb\006proto3"
106};
125
126// This function exists to be marked as weak.
127// It can significantly speed up compilation by breaking up LLVM's SCC
128// in the .pb.cc translation units. Large translation units see a
129// reduction of more than 35% of walltime for optimized builds. Without
130// the weak attribute all the messages in the file, including all the
131// vtables and everything they use become part of the same SCC through
132// a cycle like:
133// GetMetadata -> descriptor table -> default instances ->
134// vtables -> GetMetadata
135// By adding a weak function here we break the connection from the
136// individual vtables back into the descriptor table.
140// Force running AddDescriptors() at dynamic initialization time.
141PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
142static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_trigger_2fopmon_2flatency_5finfo_2eproto(&descriptor_table_trigger_2fopmon_2flatency_5finfo_2eproto);
143namespace dunedaq {
144namespace trigger {
145namespace opmon {
146// ===================================================================
147
149 public:
150};
151
152TriggerLatency::TriggerLatency(::google::protobuf::Arena* arena)
153 : ::google::protobuf::Message(arena) {
154 SharedCtor(arena);
155 // @@protoc_insertion_point(arena_constructor:dunedaq.trigger.opmon.TriggerLatency)
156}
158 : ::google::protobuf::Message(), _impl_(from._impl_) {
159 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
160 from._internal_metadata_);
161 // @@protoc_insertion_point(copy_constructor:dunedaq.trigger.opmon.TriggerLatency)
162}
163inline void TriggerLatency::SharedCtor(::_pb::Arena* arena) {
164 (void)arena;
165 new (&_impl_) Impl_{
166 decltype(_impl_.latency_in_){0u},
167 decltype(_impl_.latency_out_){0u},
168 /*decltype(_impl_._cached_size_)*/ {},
169 };
170}
172 // @@protoc_insertion_point(destructor:dunedaq.trigger.opmon.TriggerLatency)
173 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
174 SharedDtor();
175}
177 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
178}
182
183PROTOBUF_NOINLINE void TriggerLatency::Clear() {
184// @@protoc_insertion_point(message_clear_start:dunedaq.trigger.opmon.TriggerLatency)
185 ::uint32_t cached_has_bits = 0;
186 // Prevent compiler warnings about cached_has_bits being unused
187 (void) cached_has_bits;
188
189 ::memset(&_impl_.latency_in_, 0, static_cast<::size_t>(
190 reinterpret_cast<char*>(&_impl_.latency_out_) -
191 reinterpret_cast<char*>(&_impl_.latency_in_)) + sizeof(_impl_.latency_out_));
192 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
193}
194
196 const char* ptr, ::_pbi::ParseContext* ctx) {
197 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
198 return ptr;
199}
200
201
202PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
203const ::_pbi::TcParseTable<1, 2, 0, 0, 2> TriggerLatency::_table_ = {
204 {
205 0, // no _has_bits_
206 0, // no _extensions_
207 2, 8, // max_field_number, fast_idx_mask
208 offsetof(decltype(_table_), field_lookup_table),
209 4294967292, // skipmap
210 offsetof(decltype(_table_), field_entries),
211 2, // num_field_entries
212 0, // num_aux_entries
213 offsetof(decltype(_table_), field_names), // no aux_entries
215 ::_pbi::TcParser::GenericFallback, // fallback
216 }, {{
217 // uint32 latency_out = 2;
218 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TriggerLatency, _impl_.latency_out_), 63>(),
219 {16, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerLatency, _impl_.latency_out_)}},
220 // uint32 latency_in = 1;
221 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TriggerLatency, _impl_.latency_in_), 63>(),
222 {8, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerLatency, _impl_.latency_in_)}},
223 }}, {{
224 65535, 65535
225 }}, {{
226 // uint32 latency_in = 1;
227 {PROTOBUF_FIELD_OFFSET(TriggerLatency, _impl_.latency_in_), 0, 0,
228 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
229 // uint32 latency_out = 2;
230 {PROTOBUF_FIELD_OFFSET(TriggerLatency, _impl_.latency_out_), 0, 0,
231 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
232 }},
233 // no aux_entries
234 {{
235 }},
236};
237
239 ::uint8_t* target,
240 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
241 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.trigger.opmon.TriggerLatency)
242 ::uint32_t cached_has_bits = 0;
243 (void)cached_has_bits;
244
245 // uint32 latency_in = 1;
246 if (this->_internal_latency_in() != 0) {
247 target = stream->EnsureSpace(target);
248 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
249 1, this->_internal_latency_in(), target);
250 }
251
252 // uint32 latency_out = 2;
253 if (this->_internal_latency_out() != 0) {
254 target = stream->EnsureSpace(target);
255 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
256 2, this->_internal_latency_out(), target);
257 }
258
259 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
260 target =
261 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
262 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
263 }
264 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.trigger.opmon.TriggerLatency)
265 return target;
266}
267
269// @@protoc_insertion_point(message_byte_size_start:dunedaq.trigger.opmon.TriggerLatency)
270 ::size_t total_size = 0;
271
272 ::uint32_t cached_has_bits = 0;
273 // Prevent compiler warnings about cached_has_bits being unused
274 (void) cached_has_bits;
275
276 // uint32 latency_in = 1;
277 if (this->_internal_latency_in() != 0) {
278 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
279 this->_internal_latency_in());
280 }
281
282 // uint32 latency_out = 2;
283 if (this->_internal_latency_out() != 0) {
284 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
285 this->_internal_latency_out());
286 }
287
288 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
289}
290
291const ::google::protobuf::Message::ClassData TriggerLatency::_class_data_ = {
292 ::google::protobuf::Message::CopyWithSourceCheck,
294};
295const ::google::protobuf::Message::ClassData*TriggerLatency::GetClassData() const { return &_class_data_; }
296
297
298void TriggerLatency::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
299 auto* const _this = static_cast<TriggerLatency*>(&to_msg);
300 auto& from = static_cast<const TriggerLatency&>(from_msg);
301 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.trigger.opmon.TriggerLatency)
302 ABSL_DCHECK_NE(&from, _this);
303 ::uint32_t cached_has_bits = 0;
304 (void) cached_has_bits;
305
306 if (from._internal_latency_in() != 0) {
307 _this->_internal_set_latency_in(from._internal_latency_in());
308 }
309 if (from._internal_latency_out() != 0) {
310 _this->_internal_set_latency_out(from._internal_latency_out());
311 }
312 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
313}
314
316// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.trigger.opmon.TriggerLatency)
317 if (&from == this) return;
318 Clear();
319 MergeFrom(from);
320}
321
322PROTOBUF_NOINLINE bool TriggerLatency::IsInitialized() const {
323 return true;
324}
325
327 using std::swap;
328 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
329 ::google::protobuf::internal::memswap<
330 PROTOBUF_FIELD_OFFSET(TriggerLatency, _impl_.latency_out_)
332 - PROTOBUF_FIELD_OFFSET(TriggerLatency, _impl_.latency_in_)>(
333 reinterpret_cast<char*>(&_impl_.latency_in_),
334 reinterpret_cast<char*>(&other->_impl_.latency_in_));
335}
336
342// ===================================================================
343
345 public:
346};
347
349 : ::google::protobuf::Message(arena) {
350 SharedCtor(arena);
351 // @@protoc_insertion_point(arena_constructor:dunedaq.trigger.opmon.TriggerLatencyStandalone)
352}
354 : ::google::protobuf::Message(), _impl_(from._impl_) {
355 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
356 from._internal_metadata_);
357 // @@protoc_insertion_point(copy_constructor:dunedaq.trigger.opmon.TriggerLatencyStandalone)
358}
359inline void TriggerLatencyStandalone::SharedCtor(::_pb::Arena* arena) {
360 (void)arena;
361 new (&_impl_) Impl_{
362 decltype(_impl_.latency_out_){0u},
363 /*decltype(_impl_._cached_size_)*/ {},
364 };
365}
367 // @@protoc_insertion_point(destructor:dunedaq.trigger.opmon.TriggerLatencyStandalone)
368 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
369 SharedDtor();
370}
372 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
373}
377
378PROTOBUF_NOINLINE void TriggerLatencyStandalone::Clear() {
379// @@protoc_insertion_point(message_clear_start:dunedaq.trigger.opmon.TriggerLatencyStandalone)
380 ::uint32_t cached_has_bits = 0;
381 // Prevent compiler warnings about cached_has_bits being unused
382 (void) cached_has_bits;
383
384 _impl_.latency_out_ = 0u;
385 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
386}
387
389 const char* ptr, ::_pbi::ParseContext* ctx) {
390 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
391 return ptr;
392}
393
394
395PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
396const ::_pbi::TcParseTable<0, 1, 0, 0, 2> TriggerLatencyStandalone::_table_ = {
397 {
398 0, // no _has_bits_
399 0, // no _extensions_
400 1, 0, // max_field_number, fast_idx_mask
401 offsetof(decltype(_table_), field_lookup_table),
402 4294967294, // skipmap
403 offsetof(decltype(_table_), field_entries),
404 1, // num_field_entries
405 0, // num_aux_entries
406 offsetof(decltype(_table_), field_names), // no aux_entries
408 ::_pbi::TcParser::GenericFallback, // fallback
409 }, {{
410 // uint32 latency_out = 1;
411 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TriggerLatencyStandalone, _impl_.latency_out_), 63>(),
412 {8, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerLatencyStandalone, _impl_.latency_out_)}},
413 }}, {{
414 65535, 65535
415 }}, {{
416 // uint32 latency_out = 1;
417 {PROTOBUF_FIELD_OFFSET(TriggerLatencyStandalone, _impl_.latency_out_), 0, 0,
418 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
419 }},
420 // no aux_entries
421 {{
422 }},
423};
424
426 ::uint8_t* target,
427 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
428 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.trigger.opmon.TriggerLatencyStandalone)
429 ::uint32_t cached_has_bits = 0;
430 (void)cached_has_bits;
431
432 // uint32 latency_out = 1;
433 if (this->_internal_latency_out() != 0) {
434 target = stream->EnsureSpace(target);
435 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
436 1, this->_internal_latency_out(), target);
437 }
438
439 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
440 target =
441 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
442 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
443 }
444 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.trigger.opmon.TriggerLatencyStandalone)
445 return target;
446}
447
449// @@protoc_insertion_point(message_byte_size_start:dunedaq.trigger.opmon.TriggerLatencyStandalone)
450 ::size_t total_size = 0;
451
452 ::uint32_t cached_has_bits = 0;
453 // Prevent compiler warnings about cached_has_bits being unused
454 (void) cached_has_bits;
455
456 // uint32 latency_out = 1;
457 if (this->_internal_latency_out() != 0) {
458 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
459 this->_internal_latency_out());
460 }
461
462 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
463}
464
465const ::google::protobuf::Message::ClassData TriggerLatencyStandalone::_class_data_ = {
466 ::google::protobuf::Message::CopyWithSourceCheck,
468};
469const ::google::protobuf::Message::ClassData*TriggerLatencyStandalone::GetClassData() const { return &_class_data_; }
470
471
472void TriggerLatencyStandalone::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
473 auto* const _this = static_cast<TriggerLatencyStandalone*>(&to_msg);
474 auto& from = static_cast<const TriggerLatencyStandalone&>(from_msg);
475 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.trigger.opmon.TriggerLatencyStandalone)
476 ABSL_DCHECK_NE(&from, _this);
477 ::uint32_t cached_has_bits = 0;
478 (void) cached_has_bits;
479
480 if (from._internal_latency_out() != 0) {
481 _this->_internal_set_latency_out(from._internal_latency_out());
482 }
483 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
484}
485
487// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.trigger.opmon.TriggerLatencyStandalone)
488 if (&from == this) return;
489 Clear();
490 MergeFrom(from);
491}
492
493PROTOBUF_NOINLINE bool TriggerLatencyStandalone::IsInitialized() const {
494 return true;
495}
496
498 using std::swap;
499 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
501}
502
508// @@protoc_insertion_point(namespace_scope)
509} // namespace opmon
510} // namespace trigger
511} // namespace dunedaq
512namespace google {
513namespace protobuf {
514} // namespace protobuf
515} // namespace google
516// @@protoc_insertion_point(global_scope)
517#include "google/protobuf/port_undef.inc"
friend void swap(TriggerLatencyStandalone &a, TriggerLatencyStandalone &b)
void InternalSwap(TriggerLatencyStandalone *other)
::google::protobuf::Metadata GetMetadata() const final
void MergeFrom(const TriggerLatencyStandalone &from)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void SharedCtor(::google::protobuf::Arena *arena)
const ::google::protobuf::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
static const ::google::protobuf::internal::TcParseTable< 0, 1, 0, 0, 2 > _table_
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void CopyFrom(const TriggerLatencyStandalone &from)
void SetCachedSize(int size) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void InternalSwap(TriggerLatency *other)
static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 0, 2 > _table_
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void MergeFrom(const TriggerLatency &from)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void SharedCtor(::google::protobuf::Arena *arena)
::google::protobuf::Metadata GetMetadata() const final
void CopyFrom(const TriggerLatency &from)
const ::google::protobuf::Message::ClassData * GetClassData() const final
static constexprconst ::_pb::EnumDescriptor ** file_level_enum_descriptors_trigger_2fopmon_2flatency_5finfo_2eproto
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_trigger_2fopmon_2flatency_5finfo_2eproto_getter()
::absl::once_flag descriptor_table_trigger_2fopmon_2flatency_5finfo_2eproto_once
::_pb::Metadata file_level_metadata_trigger_2fopmon_2flatency_5finfo_2eproto[2]
const ::_pbi::DescriptorTable descriptor_table_trigger_2fopmon_2flatency_5finfo_2eproto
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_trigger_2fopmon_2flatency_5finfo_2eproto
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TriggerLatencyStandaloneDefaultTypeInternal _TriggerLatencyStandalone_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TriggerLatencyDefaultTypeInternal _TriggerLatency_default_instance_
Including Qt Headers.
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
const ::uint32_t TableStruct_wib_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::_pb::Message *const file_default_instances[]
Definition wib.pb.cc:1192