My favorites | Sign in
Project Home Wiki Issues
Search
for
usageyappi  
Usage reference manual for yappi.
Updated Mar 17, 2014 by sum...@gmail.com

Introduction

Using yappi and Interpreting the statistics

 /// todo:

Note that there are several columns in the profiler stats. The first one is function stats:

  • name: name of the function being profiled
  • #n: is the total callcount of the function.
  • tsub: total spent time in the function minus the total time spent in the other functions called from this function.
  • ttot: total time spent in the function.
  • tavg: is same as ttot/ccnt. Average total time.

the thread stats field gives information about the threads in the profiled application.

  • name: class name of the threading.thread object.
  • tid: thread identifier.
  • fname: name of the last executed function in this thread.
  • ttot: total time spent in this thread.
  • scnt: number of times the thread is scheduled.

Comment by john.w.p...@gmail.com, Dec 12, 2012

tsub: total spent time in the function, minus the total time spent in the other functions called from this function.

Comment by project member sum...@gmail.com, Dec 13, 2012

Thanks!

Comment by SocialPe...@gmail.com, Aug 27, 2013

what does that mean scnt? number of times this thread is scheduled, is it correct?


Sign in to add a comment
Powered by Google Project Hosting