// Copyright 2021 TiKV Project Authors. Licensed under Apache-2.0.

use crate::cpu::collector::{Collector, CollectorId};

use std::sync::atomic::AtomicU64;
use std::sync::atomic::Ordering::Relaxed;

use crossbeam::channel::{unbounded, Receiver, Sender};
use lazy_static::lazy_static;