Add detail to Omniperf logs

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


[ROCm/rocprofiler-compute commit: 3d5493a3ff]
This commit is contained in:
coleramos425
2024-07-03 16:50:13 +00:00
committed by David Galiffi
parent 7cc89dbeff
commit 3f954de70d
@@ -300,7 +300,7 @@ class OmniProfiler_Base:
self.__args.remaining = " ".join(self.__args.remaining)
else:
console_error(
"Profiling command required. Pass application executable after -- at the end of options.\n\t\ti.e. omniperf profile -n vcopy -- ./vcopy 1048576 256"
"Profiling command required. Pass application executable after -- at the end of options.\n\t\ti.e. omniperf profile -n vcopy -- ./vcopy -n 1048576 -b 256"
)
# verify name meets MongoDB length requirements and no illegal chars
@@ -329,7 +329,8 @@ class OmniProfiler_Base:
else:
console_log("Hardware Blocks: " + str(self.__args.ipblocks))
print_status("Collecting Performance Counters")
msg = "Collecting Performance Counters"
print_status(msg) if not self.__args.roof_only else print_status(msg + " (Roofline Only)")
# show status bar in error-only mode
disable_tqdm = True