From 3f954de70def8da34e97284cf6c77ea9b1c4f383 Mon Sep 17 00:00:00 2001 From: coleramos425 Date: Wed, 3 Jul 2024 16:50:13 +0000 Subject: [PATCH] Add detail to Omniperf logs Signed-off-by: coleramos425 [ROCm/rocprofiler-compute commit: 3d5493a3ffaa9076fb5d0a38a91a25e18dbc061f] --- .../src/omniperf_profile/profiler_base.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler-compute/src/omniperf_profile/profiler_base.py b/projects/rocprofiler-compute/src/omniperf_profile/profiler_base.py index 4288452d84..a889c009cb 100644 --- a/projects/rocprofiler-compute/src/omniperf_profile/profiler_base.py +++ b/projects/rocprofiler-compute/src/omniperf_profile/profiler_base.py @@ -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