Ctools Use Case Library
Statistical Profiling

Statistical profiling provides a light weight(based on the number of Trace samples needed to be captured) and coarse profiling of the entire application. Basically, PC trace is captured at periodic sampling intervals. By analyzing these PC trace samples, a histogram(percent of total execution time and number of times encountered) for all functions called in the application can be obtained. Please, follow the below steps to perform statistical profiling:

The PC Trace can be exported out for analysis in 3 ways: