I'm using Python 2.7.11 and spyder's (v2.3.8) profiler, but I have trouble understanding the results. This is an image of the results ordered by "Total Time" I have 2 questions: mainloop uses 216.012 Total Time. How can I know what part/line of my code is calling those functions? In the function noise_kauff (which I defined) Total Time is 20.51 but the first line inside noise_kauff uses 51.629? Continue reading...