feat: display.txt 新增 dynamic_steps 头字段记录实际计算步数
This commit is contained in:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user