Function tikv_util::sys::cache_size[][src]

pub fn cache_size(level: usize) -> Option<u64>

Gets the size of given level cache.

It will only return Some on Linux.