How can I profile a multithread program in Python? How can I profile a multithread program in Python? multithreading multithreading