Documentation
¶
Overview ¶
Package sysinfo resolves static host facts (CPU model, core count, total memory, OS) shown in every report so measurements are always attributable to the hardware they ran on.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
CPUModel string `json:"cpu_model"`
NumCPU int `json:"num_cpu"`
MemTotalBytes uint64 `json:"mem_total_bytes"`
OS string `json:"os"`
Hostname string `json:"hostname"`
}
Info describes the host the process runs on. Fields degrade gracefully: unknown values are placeholders, never empty strings.
Click to show internal directories.
Click to hide internal directories.