Profiling - Inclusive vs Exclusive average

anon22837948
Wed, 21 Dec 2016 15:24:58 +0000
Debugging, Optimization, & Profiling

Hi all,

A bit confused here by the CPU profiler in the Unreal Frontend application. See the following image of my Event Graph showing averages over a number of frames:

Right, so my understanding is:

1. Inclusive Time is the amount of time spent in a function and all child functions, i.e. the time from start of the function up until it’s return.

2. Exclusive Time is the amount of time spent purely in that function, excluding time spent in child functions.

Now that’s fine, but why is the average Exclusive Time greater than the Inclusive Time for ‘Overall AI Time’ (highlighted) in this case? Hopefully somebody can explain this to me!

Thanks,

7 posts - 6 participants