- GPU Platform Stress Test now shows a live in-TUI chart instead of nvtop. nvidia-smi is polled every second; up to 60 data points per GPU kept. All three metrics (Usage %, Temp °C, Power W) drawn on a single plot, each normalised to its own range and rendered in a different colour. - Memory allocation changed from MemoryMB/16 to MemoryMB-512 (full VRAM minus 512 MB driver overhead) so bee-gpu-stress actually stresses memory. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
58 lines
794 B
Go
58 lines
794 B
Go
package tui
|
|
|
|
import (
|
|
"bee/audit/internal/app"
|
|
"bee/audit/internal/platform"
|
|
)
|
|
|
|
type resultMsg struct {
|
|
title string
|
|
body string
|
|
err error
|
|
back screen
|
|
}
|
|
|
|
type servicesMsg struct {
|
|
services []string
|
|
err error
|
|
}
|
|
|
|
type interfacesMsg struct {
|
|
ifaces []platform.InterfaceInfo
|
|
err error
|
|
}
|
|
|
|
type exportTargetsMsg struct {
|
|
targets []platform.RemovableTarget
|
|
err error
|
|
}
|
|
|
|
type snapshotMsg struct {
|
|
banner string
|
|
panel app.HardwarePanelData
|
|
}
|
|
|
|
type nvidiaGPUsMsg struct {
|
|
gpus []platform.NvidiaGPU
|
|
err error
|
|
}
|
|
|
|
type nvtopClosedMsg struct{}
|
|
|
|
type nvidiaSATDoneMsg struct {
|
|
title string
|
|
body string
|
|
err error
|
|
}
|
|
|
|
type gpuStressDoneMsg struct {
|
|
title string
|
|
body string
|
|
err error
|
|
}
|
|
|
|
type gpuLiveTickMsg struct {
|
|
rows []platform.GPUMetricRow
|
|
indices []int
|
|
}
|