Method timings - explanation sought
dafad_dew
Posts: 3 Bronze 1
Hi,
I'm just trying to make sense of the timings results I'm getting...
So, in the "Call Tree" view, I'm looking at CPU Time and it's in Milliseconds.
There's a method in there, METHOD_A, which has a "Total time" of 53ms. It gets called once.
If I click on METHOD_A and view the source code, there are two lines of code in there which take 109ms and 97ms. Those lines have a "Hit count" of 1 (so the Avg Time and Time columns are identical).
So, I'm trying to work out how METHOD_A with a Total Time of 53ms can include lines which take 109ms and 97ms?
Any explanations?!
Thanks,
Dafad.
I'm just trying to make sense of the timings results I'm getting...
So, in the "Call Tree" view, I'm looking at CPU Time and it's in Milliseconds.
There's a method in there, METHOD_A, which has a "Total time" of 53ms. It gets called once.
If I click on METHOD_A and view the source code, there are two lines of code in there which take 109ms and 97ms. Those lines have a "Hit count" of 1 (so the Avg Time and Time columns are identical).
So, I'm trying to work out how METHOD_A with a Total Time of 53ms can include lines which take 109ms and 97ms?
Any explanations?!
Thanks,
Dafad.
Comments
I think the documentation here will help explain the issue you describe.
Please let me know if you have any further questions!
Kind regards,
Alex
Have you visited our Help Center?