We get a==>b as the name, we need a key for a and b in the array
to get exclusive values for A we need to subtract the values of B (and any other children);
call passing in the entire profile only, should return an array of
functions with their regular timing, and exclusive numbers inside ['exclusive']
Consider:
---c---d---e
a -/----b---d---e
We have c==>d and b==>d, and in both instances d invokes e, yet we will
have but a single d==>e result. This is a known and documented limitation of XHProf
We have one d==>e entry, with some values, including ct=2
We also have c==>d and b==>d
We should determine how many ==>d options there are, and equally
split the cost of d==>e across them since d==>e represents the sum total of all calls.
Notes:
Function names are not unique, but we're merging them
public calculateSelf ( ) : Xhgui_Profile | ||
Результат | Xhgui_Profile | A new instance with exclusive data set. |