Skip to main content

Module fetch

Module fetch 

Source
Expand description

System information gathering.

Uses the sysinfo crate and other heuristics to collect details about the OS, hardware, and environment.

Structs§

CollectOptions
Options for controlling what system information is gathered.
SystemInfo
Comprehensive system information data structure.

Functions§

detect_cpu_cache
Detects CPU cache sizes.
detect_cpu_freq_range
Returns the overall (min_khz, max_khz) CPU frequency range from sysfs cpufreq policies. min is the smallest cpuinfo_min_freq across all policies; max is the largest cpuinfo_max_freq.
format_cpu_cores
Formats a CPU core topology string.