I have two functions which are processing in parallel. I want to keep check about functions that when are they running and when finishing. How can I do that.I tried few things but it didn't work. My code looks like:
q1 = multiprocessing.Queue()
q2 = multiprocessing.Queue()
p1 = Process(target = fun1, args = (arg1,arg2,q1))
p2 = Process(target = fun2, args = (arg1,arg2,q2))
p1.start()
p2.start()
Basically trying to get a message like: 'fun1 is running', and after execution: 'fun1 ended, total time= t' and same for fun2 as well.