minor refactor of print_status()

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


[ROCm/rocprofiler-compute commit: 6bb4210d94]
This commit is contained in:
Karl W Schulz
2024-03-07 10:17:16 -06:00
committed by Karl W. Schulz
parent b948aa6ebf
commit 587d55cd9d
@@ -575,12 +575,10 @@ def is_workload_empty(path):
else:
console_error("profiling", "Cannot find pmc_perf.csv in %s" % path)
def print_status(msg):
print("\n")
print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
print("\n")
msg_length = len(msg)
print("")
print("~" * (msg_length + 1))
print(msg)
print("\n")
print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
print("\n")
print("~" * (msg_length + 1))
print("")