Other than the profiler, I don't think Python has many built-in functions for monitoring the use of individual threads. In addition, this post provides an example of a simple implementation of a thread profiler. It is mainly focused on Unix based systems, but this is the beginning.
Cerin
source share