Re-exportsยง
use anyhow::Result;๐use anyhow::Context;๐use anyhow::anyhow;๐use log::info;๐use log::warn;๐use nix::sys::resource::RLIM_INFINITY;๐use nix::sys::resource::Resource;๐use nix::sys::resource::getrlimit;๐use nix::sys::resource::setrlimit;๐use serde::Deserialize;๐use serde::Deserialize;๐use std::path::Path;๐use std::thread::sleep;๐use std::time::Duration;๐use scx_stats::prelude::*;๐
Functionsยง
- find_
best_ split_ size - Find the best split size for dividing a total number of items given a range of sizes.
- monitor_
stats - monitor_
stats_ sched - Like monitor_stats(), but for the stats server at
sched_path, the path the server was given through StatsServer::set_sched_path(). None selects the default server. - normalize_
load_ metric - read_
file_ byte - read_
file_ usize_ vec - read_
from_ file - Read a file and parse its content into the specified type.
- try_
set_ rlimit_ infinity