From 6d3fbcffadede7d20aee550e0d98727cb7274c2e Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Fri, 3 May 2024 10:25:04 -0500 Subject: [PATCH] Adding --stats examples (#842) --- source/bin/rocprofv3 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/bin/rocprofv3 b/source/bin/rocprofv3 index a471848ad7..1d262d3aed 100755 --- a/source/bin/rocprofv3 +++ b/source/bin/rocprofv3 @@ -44,6 +44,11 @@ usage() { echo -e "" echo -e "${GREEN}--sys-trace ${RESET} For Collecting HIP, HSA, Marker (ROCTx), Memory copy, Scratch memory, and Kernel dispatch traces\n" echo -e "${GREEN}--stats ${RESET} For Collecting statistics of enabled tracing types\n" + echo -e "\t#${GREY} Examples:" + echo -e "\t#${GREY} (Kernel Dispatch Trace Statistics): rocprofv3 --kernel-trace --stats " + echo -e "\t#${GREY} (HSA API Trace Statistics): rocprofv3 --hsa-trace --stats " + echo -e "\t#${GREY} (HIP API + Kernel Dispatch Trace Statistics): rocprofv3 --hip-trace --kernel-trace --stats " + echo -e "\t#${GREY} (Memory Copy Trace Statistics): rocprofv3 --memory-copy-trace --stats " echo -e "" echo -e "${GREEN}-o | --output-file ${RESET} For the output file name" echo -e "\t#${GREY} usage (with current dir): rocprofv3 --hsa-trace -o "