VeloGraphX
High-performance dynamic graph analytics in C++20
Loading...
Searching...
No Matches
velographx::AsyncPartitionLoader Class Reference

#include <async_partition_loader.hpp>

Public Member Functions

 AsyncPartitionLoader (std::size_t resident_bytes)
 
std::future< std::vector< std::uint8_t > > prefetch (std::uint64_t partition_id, std::filesystem::path path)
 
std::vector< std::uint8_t > load (std::uint64_t partition_id, const std::filesystem::path &path)
 
const PartitionCacheStatsstats () const noexcept
 
std::size_t resident_bytes () const noexcept
 
FilePrefetchResult last_prefetch_result () const noexcept
 
IoUringPrefetchResult last_io_uring_result () const noexcept
 

Static Public Member Functions

static constexpr bool native_prefetch_supported () noexcept
 
static constexpr bool io_uring_prefetch_compiled () noexcept
 

Detailed Description

Definition at line 16 of file async_partition_loader.hpp.

Constructor & Destructor Documentation

◆ AsyncPartitionLoader()

velographx::AsyncPartitionLoader::AsyncPartitionLoader ( std::size_t  resident_bytes)
inlineexplicit

Definition at line 18 of file async_partition_loader.hpp.

Member Function Documentation

◆ io_uring_prefetch_compiled()

static constexpr bool velographx::AsyncPartitionLoader::io_uring_prefetch_compiled ( )
inlinestaticconstexprnoexcept

◆ last_io_uring_result()

IoUringPrefetchResult velographx::AsyncPartitionLoader::last_io_uring_result ( ) const
inlinenoexcept

Definition at line 48 of file async_partition_loader.hpp.

◆ last_prefetch_result()

FilePrefetchResult velographx::AsyncPartitionLoader::last_prefetch_result ( ) const
inlinenoexcept

Definition at line 47 of file async_partition_loader.hpp.

◆ load()

std::vector< std::uint8_t > velographx::AsyncPartitionLoader::load ( std::uint64_t  partition_id,
const std::filesystem::path &  path 
)
inline

◆ native_prefetch_supported()

static constexpr bool velographx::AsyncPartitionLoader::native_prefetch_supported ( )
inlinestaticconstexprnoexcept

◆ prefetch()

std::future< std::vector< std::uint8_t > > velographx::AsyncPartitionLoader::prefetch ( std::uint64_t  partition_id,
std::filesystem::path  path 
)
inline

◆ resident_bytes()

std::size_t velographx::AsyncPartitionLoader::resident_bytes ( ) const
inlinenoexcept

◆ stats()

const PartitionCacheStats & velographx::AsyncPartitionLoader::stats ( ) const
inlinenoexcept

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