18/36
Part 5 of 8 · Events and timeLearn and do

Self time counts the samples with a function on top, total time the samples with it anywhere

A profiler reports two times for each function, and both come from counting the samples.

Predict

Samples come every 10 ms, and each stands for the 10 ms after it. main is in all 7 that count, but on top in only one. What are its self and total time?

Pick an answer above to see the rest