I have a program that calls several external scripts using popen from a subprocess. Now I want to profile this program. Although I can easily profile python code with cProfile, I don't get any information about how long various external scripts have been running.
I want to avoid making every single call with a timer.
Thanks!
source share