DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <BinarySearchQueueModel.hpp>
Public Member Functions | |
BinarySearchQueueModel () | |
BinarySearchQueueModel (uint32_t size) | |
IterableQueueModel< T >::Iterator | lower_bound (T &element, bool=false) |
![]() | |
IterableQueueModel (const IterableQueueModel &)=delete | |
IterableQueueModel & | operator= (const IterableQueueModel &)=delete |
IterableQueueModel () | |
IterableQueueModel (std::size_t size) | |
IterableQueueModel (std::size_t size, bool numa_aware=false, uint8_t numa_node=0, bool intrinsic_allocator=false, std::size_t alignment_size=0) | |
~IterableQueueModel () | |
void | free_memory () |
void | allocate_memory (std::size_t size, bool numa_aware, uint8_t numa_node=0, bool intrinsic_allocator=false, std::size_t alignment_size=0) |
void | allocate_memory (std::size_t size) override |
void | prefill_task () |
void | force_pagefault () |
bool | write (T &&record) override |
Move referenced object into LB. | |
bool | read (T &record) override |
Move object from LB to referenced. | |
void | popFront () |
void | pop (std::size_t x) |
Pop specified amount of elements from LB. | |
bool | isEmpty () const |
bool | isFull () const |
std::size_t | occupancy () const override |
Occupancy of LB. | |
std::size_t | size () const |
std::size_t | capacity () const |
const T * | front () override |
Write referenced object into LB without moving it. | |
const T * | back () override |
Get pointer to the back of the LB. | |
T * | start_of_buffer () |
T * | end_of_buffer () |
void | conf (const appmodel::LatencyBuffer *cfg) override |
Configure the LB. | |
void | scrap (const nlohmann::json &) override |
Unconfigure the LB. | |
void | flush () override |
Flush all elements from the latency buffer. | |
std::size_t | get_alignment_size () |
Iterator | begin () |
Iterator | end () |
![]() | |
LatencyBufferConcept () | |
virtual | ~LatencyBufferConcept () |
LatencyBufferConcept (const LatencyBufferConcept &)=delete | |
LatencyBufferConcept is not copy-constructible. | |
LatencyBufferConcept & | operator= (const LatencyBufferConcept &)=delete |
LatencyBufferConcept is not copy-assginable. | |
LatencyBufferConcept (LatencyBufferConcept &&)=delete | |
LatencyBufferConcept is not move-constructible. | |
LatencyBufferConcept & | operator= (LatencyBufferConcept &&)=delete |
LatencyBufferConcept is not move-assignable. | |
virtual void | allocate_memory (size_t)=0 |
Whether or not the buffer is allocatable. false by default. | |
![]() | |
MonitorableObject (const MonitorableObject &)=delete | |
MonitorableObject & | operator= (const MonitorableObject &)=delete |
MonitorableObject (MonitorableObject &&)=delete | |
MonitorableObject & | operator= (MonitorableObject &&)=delete |
virtual | ~MonitorableObject ()=default |
auto | get_opmon_id () const noexcept |
auto | get_opmon_level () const noexcept |
Additional Inherited Members | |
![]() | |
typedef T | value_type |
![]() | |
using | NodePtr = std::weak_ptr<MonitorableObject> |
using | NewNodePtr = std::shared_ptr<MonitorableObject> |
using | ElementId = std::string |
![]() | |
static bool | publishable_metric (OpMonLevel entry, OpMonLevel system) noexcept |
![]() | |
virtual void | generate_opmon_data () override |
template<class... Args> | |
bool | write_ (Args &&... recordArgs) |
![]() | |
MonitorableObject ()=default | |
void | register_node (ElementId name, NewNodePtr) |
void | publish (google::protobuf::Message &&, CustomOrigin &&co={}, OpMonLevel l=to_level(EntryOpMonLevel::kDefault)) const noexcept |
![]() | |
std::atomic< int > | overflow_ctr { 0 } |
bool | numa_aware_ |
uint8_t | numa_node_ |
bool | intrinsic_allocator_ |
std::size_t | alignment_size_ |
bool | invalid_configuration_requested_ |
std::string | prefiller_name_ {"lbpfn"} |
std::mutex | prefill_mutex_ |
std::condition_variable | prefill_cv_ |
bool | prefill_ready_ |
bool | prefill_done_ |
std::thread | ptrlogger |
char | pad0_ [folly::hardware_destructive_interference_size] |
uint32_t | size_ |
T * | records_ |
std::atomic< unsigned int > | readIndex_ |
std::atomic< unsigned int > | writeIndex_ |
char | pad1_ [folly::hardware_destructive_interference_size - sizeof(writeIndex_)] |
Definition at line 22 of file BinarySearchQueueModel.hpp.
|
inline |
Definition at line 25 of file BinarySearchQueueModel.hpp.
|
inlineexplicit |
Definition at line 29 of file BinarySearchQueueModel.hpp.
IterableQueueModel< T >::Iterator dunedaq::datahandlinglibs::BinarySearchQueueModel< T >::lower_bound | ( | T & | element, |
bool | = false ) |
Definition at line 8 of file BinarySearchQueueModel.hxx.