use std::sync::atomic::AtomicU64;
#[derive(Debug, Default)]
pub(super) struct AsyncExecutorStats {
pub(super) tasks_spawned: AtomicU64,
pub(super) tasks_completed: AtomicU64,
pub(super) total_execution_time_ns: AtomicU64,
pub(super) waker_notifications: AtomicU64,
pub(super) io_operations: AtomicU64,
pub(super) tasks_pending: AtomicU64,
}
#[derive(Debug, Clone)]
pub struct ExecutorStats {
pub tasks_spawned: u64,
pub tasks_completed: u64,
pub tasks_pending: u64,
pub total_execution_time_ns: u64,
pub waker_notifications: u64,
pub io_operations: u64,
}