Skip to content

Commit

Permalink
rocprofv3: fix collection period unit handling (#103)
Browse files Browse the repository at this point in the history
* Fixing Collection Period

* Fixing default value for collection period unit

* Formatting

---------

Co-authored-by: Ammar ELWazir <[email protected]>
  • Loading branch information
ammarwa and ammarwa authored Jan 14, 2025
1 parent 81f600e commit 94474de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/bin/rocprofv3.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def add_parser_bool_argument(gparser, *args, **kwargs):
"--collection-period-unit",
help="To change the unit used in `--collection-period` or `-p`, you can specify the desired unit using the `--collection-period-unit` or `-pu` option. The available units are `hour` for hours, `min` for minutes, `sec` for seconds, `msec` for milliseconds, `usec` for microseconds, and `nsec` for nanoseconds",
nargs=1,
default="sec",
default=["sec"],
type=str,
choices=("hour", "min", "sec", "msec", "usec", "nsec"),
)
Expand Down

0 comments on commit 94474de

Please sign in to comment.