非常坏
This commit is contained in:
parent
f6c32973ac
commit
5b416e076a
@ -8,6 +8,8 @@
|
||||
- 现在可以直接使用 `--core-pick` 选项来选择核心了
|
||||
- 并且单线程模式下效果和 benchmark 模式下一样了
|
||||
|
||||
> 然后我准备改成内置多进程模式
|
||||
|
||||
### 0.3.0
|
||||
|
||||
把 `--bench-core` 改成了 `--core-pick`
|
||||
|
@ -39,6 +39,9 @@ pub struct Command {
|
||||
/// 单线程模式模式下的核心亲和性核心号 (从 0 开始)
|
||||
#[arg(long = "core-pick", default_value_t = 0)]
|
||||
pub pick_core: usize,
|
||||
/// 是否是子进程
|
||||
#[arg(short = 's')]
|
||||
pub is_sub_process: bool,
|
||||
}
|
||||
|
||||
impl Command {
|
||||
@ -121,7 +124,6 @@ fn main() {
|
||||
info!("队伍名: {}", cli_arg.team);
|
||||
info!("输出文件名: {:?}", out_path);
|
||||
info!("预期状态输出时间间隔: {} 秒", cli_arg.report_interval);
|
||||
info!("是否启动 benchmark 模式: {}", cli_arg.bench);
|
||||
|
||||
cacluate::start_main(cli_arg, out_path);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user