Expand description
This crate contains the code necessary to gather basic hardware and software telemetry information about the node on which we’re running.
Structs§
- HwBench
- Hardware benchmark results for the node.
- Requirement
- A single requirement for the hardware.
- Requirements
- Multiple requirements for the hardware.
- Throughput
- Throughput as measured in bytes per second.
Enums§
- Execution
Limit - Limit the execution time of a benchmark.
- Metric
- A single hardware metric.
Constants§
- TARGET_
ARCH - The CPU ISA architecture part of the current target triplet.
- TARGET_
ENV - The environment part of the current target triplet.
- TARGET_
OS - The operating system part of the current target triplet.
Functions§
- benchmark_
cpu - benchmark_
cpu_ parallelism - benchmark_
disk_ random_ writes - benchmark_
disk_ sequential_ writes - benchmark_
memory - benchmark_
sr25519_ verify - Benchmarks the verification speed of sr25519 signatures.
- gather_
hwbench - Benchmarks the hardware and returns the results of those benchmarks.
- gather_
sysinfo - Gathers information about node’s hardware and software.
- initialize_
hwbench_ telemetry - Initializes the hardware benchmarks telemetry.
- print_
hwbench - Prints out the results of the hardware benchmarks in the logs.
- print_
sysinfo - Prints out the system software/hardware information in the logs.
- serialize_
throughput - Serializes
Throughput
and uses MiBs as the unit. - serialize_
throughput_ option - Serializes
Option<Throughput>
and uses MiBs as the unit.