Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 ()
 
 RIoUring (const RIoUring &)=delete
 
 RIoUring (std::uint32_t entriesHint)
 
 ~RIoUring ()
 
std::uint32_t GetQueueDepth ()
 
struct io_uring * GetRawRing ()
 Access the raw io_uring instance.
 
RIoUringoperator= (const RIoUring &)=delete
 
void SubmitReadsAndWait (RReadEvent *readEvents, unsigned int nReads)
 Submit a number of read events and wait for completion.
 

Private Attributes

std::uint32_t fDepth = 0
 
struct io_uring fRing
 

#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 27 of file RIoUring.hxx.

  • io/io/inc/ROOT/RIoUring.hxx