Adding --stats examples (#842)

This commit is contained in:
Ammar ELWazir
2024-05-03 10:25:04 -05:00
zatwierdzone przez GitHub
rodzic bf75579566
commit 6d3fbcffad
+5
Wyświetl plik
@@ -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 <executable>"
echo -e "\t#${GREY} (HSA API Trace Statistics): rocprofv3 --hsa-trace --stats <executable>"
echo -e "\t#${GREY} (HIP API + Kernel Dispatch Trace Statistics): rocprofv3 --hip-trace --kernel-trace --stats <executable>"
echo -e "\t#${GREY} (Memory Copy Trace Statistics): rocprofv3 --memory-copy-trace --stats <executable>"
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 <file_name> <executable>"