cProfile.Profile.getstats¶
-
Profile.
getstats
() → list of profiler_entry objects¶ Return all information collected by the profiler. Each profiler_entry is a tuple-like object with the following attributes:
code code object callcount how many times this was called reccallcount how many times called recursively totaltime total time in this entry inlinetime inline time in this entry (not in subcalls) calls details of the callsThe calls attribute is either None or a list of profiler_subentry objects:
code called code object callcount how many times this is called reccallcount how many times this is called recursively totaltime total time spent in this call inlinetime inline time (not in further subcalls)