Crate sc_sysinfo
source ·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§
- Hardware benchmark results for the node.
- A single requirement for the hardware.
- Multiple requirements for the hardware.
- Throughput as measured in bytes per second.
Enums§
- Limit the execution time of a benchmark.
- A single hardware metric.
Constants§
- The CPU ISA architecture part of the current target triplet.
- The environment part of the current target triplet.
- The operating system part of the current target triplet.
Functions§
- Benchmarks the verification speed of sr25519 signatures.
- Benchmarks the hardware and returns the results of those benchmarks.
- Gathers information about node’s hardware and software.
- Initializes the hardware benchmarks telemetry.
- Prints out the results of the hardware benchmarks in the logs.
- Prints out the system software/hardware information in the logs.
- Serializes
Throughput
and uses MiBs as the unit. - Serializes
Option<Throughput>
and uses MiBs as the unit.