Commit 5cafa62b authored by Christophe Bedard's avatar Christophe Bedard

Move pickle file path print to main

parent 87396b27
Pipeline #68274268 passed with stage
in 1 minute and 23 seconds
......@@ -33,7 +33,6 @@ def parse_args():
args = parser.parse_args()
if args.pickle_path is None:
args.pickle_path = os.path.join(args.trace_directory, 'pickle')
print(args.pickle_path)
return args
......@@ -43,8 +42,9 @@ def main():
trace_directory = args.trace_directory
pickle_target_path = args.pickle_path
print(f'Importing trace directory: {trace_directory}')
print(f'importing trace directory: {trace_directory}')
start_time = time.time()
count = ctf.convert(trace_directory, pickle_target_path)
time_diff = time.time() - start_time
print(f'converted {count} events in {time_diff * 1000:.2f} ms')
print(f'pickle written to: {pickle_target_path}')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment