Logo ROOT  
Reference Guide
ROOT::Internal::RIoUring Class Reference

Definition at line 25 of file RIoUring.hxx.

Classes

struct  RReadEvent
 Basic read event composed of IO data and a target file descriptor. More...
 

Public Member Functions

 RIoUring ()
  More...
 
 RIoUring (const RIoUring &)=delete
  More...
 
 RIoUring (std::uint32_t entriesHint)
  More...
 
 ~RIoUring ()
  More...
 
std::uint32_t GetQueueDepth ()
  More...
 
struct io_uring * GetRawRing ()
 Access the raw io_uring instance. More...
 
RIoUringoperator= (const RIoUring &)=delete
  More...
 
void SubmitReadsAndWait (RReadEvent *readEvents, unsigned int nReads)
 Submit a number of read events and wait for completion. More...
 

Private Attributes

std::uint32_t fDepth = 0
  More...
 
struct io_uring fRing
  More...
 

#include <ROOT/RIoUring.hxx>

Constructor & Destructor Documentation

◆ RIoUring() [1/3]

ROOT::Internal::RIoUring::RIoUring ( )
inline

Definition at line 34 of file RIoUring.hxx.

◆ RIoUring() [2/3]

ROOT::Internal::RIoUring::RIoUring ( std::uint32_t  entriesHint)
inlineexplicit

Definition at line 57 of file RIoUring.hxx.

◆ RIoUring() [3/3]

ROOT::Internal::RIoUring::RIoUring ( const RIoUring )
delete

◆ ~RIoUring()

ROOT::Internal::RIoUring::~RIoUring ( )
inline

Definition at line 69 of file RIoUring.hxx.

Member Function Documentation

◆ GetQueueDepth()

std::uint32_t ROOT::Internal::RIoUring::GetQueueDepth ( )
inline

Definition at line 74 of file RIoUring.hxx.

◆ GetRawRing()

struct io_uring* ROOT::Internal::RIoUring::GetRawRing ( )
inline

Access the raw io_uring instance.

Definition at line 79 of file RIoUring.hxx.

◆ operator=()

RIoUring& ROOT::Internal::RIoUring::operator= ( const RIoUring )
delete

◆ SubmitReadsAndWait()

void ROOT::Internal::RIoUring::SubmitReadsAndWait ( RReadEvent readEvents,
unsigned int  nReads 
)
inline

Submit a number of read events and wait for completion.

Events are submitted in batches if the number of events is larger than the submission queue depth.

Definition at line 99 of file RIoUring.hxx.

Member Data Documentation

◆ fDepth

std::uint32_t ROOT::Internal::RIoUring::fDepth = 0
private

Definition at line 28 of file RIoUring.hxx.

◆ fRing

struct io_uring ROOT::Internal::RIoUring::fRing
private

Definition at line 1 of file RIoUring.hxx.


The documentation for this class was generated from the following file: