Hello there, it’s been a while already but believe it or not I came back to this video to understand more about profiling and I’m veeery confused. According to this video at the minute 7:40 you calculate how often Cycle_Index
is called, you take 77fps * 0.003 = 0.231 and you explain that this is called once every 0.23 of a second, hence 5 times a second.
Now let’s keep this rule and drop to 15fps, take a function, let’s call it A() that has 90% of calls and calculate how often is called, this would be 15fps * 0.9 = 13.5
Does this mean that A() is called 13,5 times a second?
Now take function B() that has 0.3% of calls and keep the same 15 fps, so 15fps * 0.003 = 0.045, meaning that this function B() is being called once every 0.045 of a second, hence about 25 times a second.
How is it possible that B() is called more often than A() if B() has only 0.3% of frames with a call to this stat while A() has 90%?
I’m pretty sure I’m missing something, could someone here help me understand?