tighten-up profile usage examples

Signed-off-by: Karl W Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: 3e88132d73]
This commit is contained in:
Karl W Schulz
2024-03-05 18:13:31 -06:00
committad av Karl W. Schulz
förälder 91434bcebf
incheckning 82bb59ce76
+10 -9
Visa fil
@@ -61,16 +61,17 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version):
"profile",
help="Profile the target application",
usage="""
\nomniperf profile --name <workload_name> [profile options] [roofline options] -- <profile_cmd>
\n\n-------------------------------------------------------------------------------
\nExamples:
\n\tomniperf profile -n vcopy_all -- ./vcopy -n 1048576 -b 256
\n\tomniperf profile -n vcopy_SPI_TCC -b SQ TCC -- ./vcopy -n 1048576 -b 256
\n\tomniperf profile -n vcopy_kernel -k vecCopy -- ./vcopy -n 1048576 -b 256
\n\tomniperf profile -n vcopy_disp -d 0 -- ./vcopy -n 1048576 -b 256
\n\tomniperf profile -n vcopy_roof --roof-only -- ./vcopy -n 1048576 -b 256
\n-------------------------------------------------------------------------------\n
omniperf profile --name <workload_name> [profile options] [roofline options] -- <profile_cmd>
---------------------------------------------------------------------------------
Examples:
\tomniperf profile -n vcopy_all -- ./vcopy -n 1048576 -b 256
\tomniperf profile -n vcopy_SPI_TCC -b SQ TCC -- ./vcopy -n 1048576 -b 256
\tomniperf profile -n vcopy_kernel -k vecCopy -- ./vcopy -n 1048576 -b 256
\tomniperf profile -n vcopy_disp -d 0 -- ./vcopy -n 1048576 -b 256
\tomniperf profile -n vcopy_roof --roof-only -- ./vcopy -n 1048576 -b 256
---------------------------------------------------------------------------------
""",
prog="tool",
allow_abbrev=False,