
Untitled
By: a guest on
May 1st, 2012 | syntax:
None | size: 2.04 KB | hits: 15 | expires: Never
How can I compute durations of nested method calls?
_time sequence event
======= ======== =============
t00 1 Request Enter
t01 2 Method Enter
t02 3 Method Exit
t03 4 Method Enter
t04 5 Method Enter
t05 6 Method Enter
t06 7 Method Exit
t07 8 Method Exit
t08 9 Method Exit
t09 10 Request Exit
t10 1 Request Enter
t11 2 Method Enter
t12 3 Method Exit
t13 4 Method Enter
t14 5 Method Exit
t15 6 Method Enter
t15 7 Method Enter
t16 8 Method Exit
t17 9 Method Exit
t19 10 Request Exit
_time sequence event Elapsed Comment
======= ======== ============= ======== ============
t00 1 Request Enter
t01 2 Method Enter d01 = t01 - t00
t02 3 Method Exit d02 = t02 - t01
t03 4 Method Enter d03 = t03 - t02
t04 5 Method Enter d04 = t04 - t03
t05 6 Method Enter d05 = t05 - t04
t06 7 Method Exit d06 = t06 - t05
t07 8 Method Exit d07 = t07 - t04 <--
t08 9 Method Exit d08 = t08 - t03 <--
t09 10 Request Exit d09 = t09 - t00 <--
t10 1 Request Enter d10 = t10 - t09
t11 2 Method Enter d11 = t11 - t10
t12 3 Method Exit d12 = t12 - t11
t13 4 Method Enter d13 = t13 - t12
t14 5 Method Exit d14 = t14 - t13
t15 6 Method Enter d15 = t15 - t14
t16 7 Method Enter d16 = t16 - t15
t17 8 Method Exit d17 = t17 - t16
t18 9 Method Exit d18 = t18 - t15 <--
t19 10 Request Exit d19 = t19 - t10 <--