From b2c71e43cbdab4a0802544c41db321d3c757881c Mon Sep 17 00:00:00 2001 From: "Elwazir, Ammar" Date: Fri, 24 Jan 2025 08:39:40 -0600 Subject: [PATCH] Fixing collection period rocprofv3 help message (#148) Update rocprofv3.py [ROCm/rocprofiler-sdk commit: 19a912d476c8df9ab0dd46d84ea6b6d8f1c93c23] --- projects/rocprofiler-sdk/source/bin/rocprofv3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler-sdk/source/bin/rocprofv3.py b/projects/rocprofiler-sdk/source/bin/rocprofv3.py index dcea56f24d..f35fa9fb8b 100755 --- a/projects/rocprofiler-sdk/source/bin/rocprofv3.py +++ b/projects/rocprofiler-sdk/source/bin/rocprofv3.py @@ -409,7 +409,7 @@ For MPI applications (or other job launchers such as SLURM), place rocprofv3 ins filter_options.add_argument( "-p", "--collection-period", - help="The times are specified in seconds by default, but the unit can be changed using the `--collection-period-unit` or `-pu` option. Start Delay Time is the time in seconds before the collection begins, Collection Time is the duration in seconds for which data is collected, and Rate is the number of times the cycle is repeated. A repeat of 0 indicates that the cycle will repeat indefinitely. Users can specify multiple configurations, each defined by a triplet in the format `start_delay:collection_time:repeat`", + help="The times are specified in seconds by default, but the unit can be changed using the `--collection-period-unit` option. Start Delay Time is the time in seconds before the collection begins, Collection Time is the duration in seconds for which data is collected, and Rate is the number of times the cycle is repeated. A repeat of 0 indicates that the cycle will repeat indefinitely. Users can specify multiple configurations, each defined by a triplet in the format `start_delay:collection_time:repeat`", nargs="+", default=None, type=str, @@ -417,7 +417,7 @@ For MPI applications (or other job launchers such as SLURM), place rocprofv3 ins ) filter_options.add_argument( "--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", + help="To change the unit used in `--collection-period` or `-p`, you can specify the desired unit using the `--collection-period-unit` 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"], type=str,