Commit a10b4dae by dongshufeng

refactor: little change

parent 3802e0a9
...@@ -1720,15 +1720,15 @@ dependencies = [ ...@@ -1720,15 +1720,15 @@ dependencies = [
[[package]] [[package]]
name = "rustix" name = "rustix"
version = "1.0.7" version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"errno", "errno",
"libc", "libc",
"linux-raw-sys 0.9.4", "linux-raw-sys 0.9.4",
"windows-sys 0.59.0", "windows-sys 0.60.2",
] ]
[[package]] [[package]]
...@@ -1905,7 +1905,7 @@ dependencies = [ ...@@ -1905,7 +1905,7 @@ dependencies = [
"fastrand", "fastrand",
"getrandom 0.3.3", "getrandom 0.3.3",
"once_cell", "once_cell",
"rustix 1.0.7", "rustix 1.0.8",
"windows-sys 0.59.0", "windows-sys 0.59.0",
] ]
......
...@@ -22,7 +22,7 @@ function results = execute_and_parse() ...@@ -22,7 +22,7 @@ function results = execute_and_parse()
fprintf('正在处理: %s\n', test_file); fprintf('正在处理: %s\n', test_file);
% 构建并执行命令 % 构建并执行命令
cmd = sprintf('%s --complex %s', tensoreval_path, test_file); cmd = sprintf('%s --complex --verbose %s', tensoreval_path, test_file);
[status, output] = system(cmd); [status, output] = system(cmd);
% 解析结果 % 解析结果
......
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
#include ../lib/runpf.txt #include ../lib/runpf.txt
info("Running power flow on case14..."); info("Running power flow on case14...");
r = runpf(); for i in 0..1000 {
r = runpf();
}
info("Run power flow on case14 end"); info("Run power flow on case14 end");
return r; return r;
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论