Update auto-check config and stress modules

This commit is contained in:
12600k-rog-d4
2026-08-20 08:09:01 +08:00
parent 2aaaa16ae2
commit 22f6c40705
7 changed files with 164 additions and 169 deletions

View File

@@ -79,11 +79,12 @@ func BuildMetrics(types []TestType, tools ToolSet) []Metric {
type Config struct {
Duration time.Duration
Threads int
MemSizeMB int // 0=自动(可用60%)
DiskSizeMB int // 0=默认1024
DiskDir string // 空=自动临时目录
TempLogInt time.Duration // 0=10s
TempLimit float64 // 温度上限(°C)0=不判定
MemSizeMB int // 0=自动(可用60%)
DiskSizeMB int // 0=默认1024
DiskDir string // 空=自动临时目录
TempLogInt time.Duration
TempLimit float64 // 温度上限(°C)0=不判定
UseMirror bool // 在线安装时切换国内镜像源(清华TUNA)
}
// DefaultConfig 默认配置