feat: display.txt 新增 dynamic_steps 头字段记录实际计算步数

This commit is contained in:
2026-06-12 06:47:17 +08:00
parent 9d1f84d2bf
commit 0c332b7dfc
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -227,6 +227,7 @@ def run_case(config_path, runtime_base, input_dir="input", output_dir="output",
# 构建 header_fields
hf = {"DT": str(DT), "NSTEP": str(NSTEP), "method": str(data.get("method", "")),
"warmup_steps": str(data.get("warmup_steps", 0)),
"dynamic_steps": str(record_steps),
"X_MAX": str(data.get("X_MAX", 10)), "X_MIN": str(data.get("X_MIN", -10)),
"Y_MAX": str(data.get("Y_MAX", 10)), "Y_MIN": str(data.get("Y_MIN", -10)),
"Z_MAX": str(data.get("Z_MAX", 10)), "Z_MIN": str(data.get("Z_MIN", -10)),