Enable random port feature in standalone GUI (#111)

Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: e23a4dd9c5]
This commit is contained in:
coleramos425
2023-05-02 16:20:33 -05:00
parent 6bf4dd0fb7
commit 186deb0533
2 changed files with 13 additions and 1 deletions
@@ -487,3 +487,8 @@ def parse(my_parser):
const=8050,
help="\t\tActivate a GUI to interate with Omniperf metrics.\n\t\tOptionally, specify port to launch application (DEFAULT: 8050)",
)
analyze_group.add_argument(
"--random-port",
action="store_true",
help="\t\tRandomly generate a port to launch GUI application.\n\t\tRegistered Ports range inclusive (1024-49151)."
)