![]() ![]() The percentage displayed in the node corresponds to the count divided by the total run time of the program (that is, the cumulative count for main()).Īn edge from one node to another indicates a caller to callee relationship. The size of the node is proportional to the local count. If the cumulative time is the same as the local time, it is not printed.įor instance, the timing information for test_main_thread() indicates that 155 units (about 1.55 seconds) were spent executing the code in test_main_thread() and 200 units were spent while executing test_main_thread() and its callees such as snprintf(). The "cumulative" time is the sum of the "local" time and the time spent in any callees. Therefor one unit of time in the output corresponds to about 10 milliseconds of execution time.) The "local" time is the time spent executing the instructions directly contained in the procedure (and in any other procedures that were inlined into the procedure). ![]() (The profiling is done via a sampling method, where by default we take 100 samples a second. The last one or two lines contains the timing information. The directed edges indicate caller to callee relations. Percentage of profiling samples in this function and its calleesĮach node represents a procedure.Number of profiling samples in this function and its callees.Percentage of profiling samples in the functions printed so far.Percentage of profiling samples in this function.Number of profiling samples in this function. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |