use near_time::Clock;
use crate::instrumentation::{data::ALL_ACTOR_INSTRUMENTATIONS, reader::InstrumentedThreadsView};
pub(crate) mod data;
mod instrumented_window;
mod metrics;
pub mod queue;
pub mod reader;
#[cfg(test)]
pub(crate) mod test_utils;
#[cfg(feature = "actor_instrumentation_testing")]
pub mod testing;
#[cfg(test)]
mod tests;
pub(crate) mod writer;
pub use data::InstrumentedThread;
pub use writer::InstrumentedThreadWriter;
pub use writer::InstrumentedThreadWriterSharedPart;
pub const WINDOW_SIZE_NS: u64 = 500_000_000; const NUM_WINDOWS: usize = 60;
pub fn all_actor_instrumentations_view(clock: &Clock) -> InstrumentedThreadsView {
ALL_ACTOR_INSTRUMENTATIONS.to_view(clock)
}