Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/wall_option' into wall_option
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoGuorui666 committed Sep 28, 2024
2 parents 75cce73 + 0966ba2 commit e17c3bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions site/docs/doc/profiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,6 @@ profiler start --loop 1h -f /var/log/profile-%t.jfr

这个选项指定 profiling 自动在多久后停止。该选项和 `--loop` 选项的格式一致,可以是时间点,也可以是一个时间间隔。这两个选项都是用于 `start` action 而不是 `collect` action 的。可参考 [async-profiler Github Discussions](https://github.com/async-profiler/async-profiler/discussions/789) 了解更多信息。



## `--wall` 选项

通过 --wall 选项,可以同时进行 CPU 和 Wall Clock 的性能分析。
Expand All @@ -369,4 +367,4 @@ Linux 平台: 这个新功能仅在 Linux 平台上有效。macOS 上的 CPU 分

```bash
profiler start -e cpu -i 10 --wall 100 -f out.jfr
```
```
2 changes: 1 addition & 1 deletion site/docs/en/doc/profiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,4 +365,4 @@ Performance overhead: Enabling Wall clock analysis will increase performance ove

```bash
profiler start -e cpu -i 10 --wall 100 -f out.jfr
```
```

0 comments on commit e17c3bb

Please sign in to comment.