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:
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("")
|
||||
|
||||
Reference in New Issue
Block a user