Skip to main content

diskann_disk/utils/
mod.rs

1/*
2 * Copyright (c) Microsoft Corporation.
3 * Licensed under the MIT license.
4 */
5
6//! Disk-specific utilities and helper functions.
7//!
8//! This module contains utility functions and helpers
9//! specific to disk index operations.
10
11pub mod partition;
12pub use partition::partition_with_ram_budget;
13
14pub mod instrumentation;
15
16pub mod aligned_file_reader;
17pub use aligned_file_reader::AlignedFileReaderFactory;
18#[cfg(any(feature = "virtual_storage", test))]
19pub use aligned_file_reader::VirtualAlignedReaderFactory;
20
21pub mod statistics;
22pub use statistics::{get_mean_stats, get_percentile_stats, get_sum_stats, QueryStatistics};