rocprofv3: fix collection period unit handling (#103)

* Fixing Collection Period

* Fixing default value for collection period unit

* Formatting

---------

Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
This commit is contained in:
Elwazir, Ammar
2025-01-14 11:19:16 -06:00
committed by GitHub
parent 81f600e3ba
commit 94474de480
+1 -1
View File
@@ -392,7 +392,7 @@ For MPI applications (or other job launchers such as SLURM), place rocprofv3 ins
"--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"),
)