Function sc_sysinfo::gather_hwbench
source · pub fn gather_hwbench(
scratch_directory: Option<&Path>,
requirements: &Requirements,
) -> HwBench
Expand description
Benchmarks the hardware and returns the results of those benchmarks.
Optionally accepts a path to a scratch_directory
to use to benchmark the
disk. Also accepts the requirements
for the hardware benchmark and a
boolean to specify if the node is an authority.