From 94474de4801e1edd747f057f1c4fe913073ff0d3 Mon Sep 17 00:00:00 2001 From: "Elwazir, Ammar" Date: Tue, 14 Jan 2025 11:19:16 -0600 Subject: [PATCH] rocprofv3: fix collection period unit handling (#103) * Fixing Collection Period * Fixing default value for collection period unit * Formatting --------- Co-authored-by: Ammar ELWazir --- source/bin/rocprofv3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/bin/rocprofv3.py b/source/bin/rocprofv3.py index 3b385cd869..86eb9581fa 100755 --- a/source/bin/rocprofv3.py +++ b/source/bin/rocprofv3.py @@ -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"), )